Expand description
String.prototype method evaluation.
Pure Rust implementations of JavaScript string methods.
Input: &str + method name + args. Output: Option<JsValue>.
Functionsยง
- call
- Evaluate a string method call:
"abc".method(args). - from_
char_ code String.fromCharCode(...codes).- from_
code_ point String.fromCodePoint(...codes).- property
- String property access:
.length,[index].