We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a688d6 commit 8e8a02bCopy full SHA for 8e8a02b
src/js.rs
@@ -359,7 +359,6 @@ extern {
359
/// the start index and a number of characters after it.
360
///
361
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr
362
- /// TODO: Add `NaN` and `undefined` support
363
#[wasm_bindgen(method, js_class = "String")]
364
pub fn substr(this: &JsString, start: i32, length: i32) -> JsString;
365
}
0 commit comments