Port Date tests to wasm

This commit is contained in:
Alex Crichton
2018-07-20 12:07:26 -07:00
parent 81150492a5
commit 601b138296
5 changed files with 410 additions and 1713 deletions

View File

@ -1595,7 +1595,7 @@ extern "C" {
///
/// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/valueOf
#[wasm_bindgen(method, js_name = valueOf)]
pub fn value_of(this: &Date) -> Date;
pub fn value_of(this: &Date) -> f64;
}
// Object.