js.rs - remove todo

This commit is contained in:
Lachezar Lechev
2018-06-25 21:32:48 +02:00
parent 7a688d6967
commit 8e8a02bf73

View File

@ -359,7 +359,6 @@ extern {
/// the start index and a number of characters after it. /// the start index and a number of characters after it.
/// ///
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr /// 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")] #[wasm_bindgen(method, js_class = "String")]
pub fn substr(this: &JsString, start: i32, length: i32) -> JsString; pub fn substr(this: &JsString, start: i32, length: i32) -> JsString;
} }