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

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

Returns a String which contains the slice of the JS String from character at "start" index up to but not including character at "end" index https://tc39.github.io/ecma262/#sec-string.prototype.slice