[−][src]Function boa::builtins::string::slice
pub fn slice(
this: &mut Value,
args: &[Value],
ctx: &mut Interpreter
) -> ResultValue
String.prototype.slice( beginIndex [, endIndex] )
The slice()
method extracts a section of a string and returns it as a new string, without modifying the original string.
More information: