[][src]Function boa::js::string::char_at

pub fn char_at(this: Value, _: Value, args: Vec<Value>) -> ResultValue

Returns a single element String containing the code unit at index pos within the String value resulting from converting this object to a String. If there is no element at that index, the result is the empty String. The result is a String value, not a String object. https://tc39.github.io/ecma262/#sec-string.prototype.charat