mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-24 18:21:33 +00:00
js.rs - remove todo
This commit is contained in:
@ -359,7 +359,6 @@ extern {
|
||||
/// the start index and a number of characters after it.
|
||||
///
|
||||
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr
|
||||
/// TODO: Add `NaN` and `undefined` support
|
||||
#[wasm_bindgen(method, js_class = "String")]
|
||||
pub fn substr(this: &JsString, start: i32, length: i32) -> JsString;
|
||||
}
|
||||
|
Reference in New Issue
Block a user