[][src]Function boa::builtins::string::char_code_at

pub fn char_code_at(
    this: &Value,
    args: &[Value],
    ctx: &mut Interpreter
) -> ResultValue

Returns a Number (a nonnegative integer less than 216) that is the numeric value of the code unit at index pos within the String resulting from converting this object to a String. If there is no element at that index, the result is NaN. https://tc39.github.io/ecma262/#sec-string.prototype.charcodeat