js-sys: Add extends to Math

Part of #670
This commit is contained in:
Nick Fitzgerald
2018-09-06 13:39:30 -07:00
parent 5df2347a7a
commit bfff8661c1
2 changed files with 14 additions and 0 deletions

View File

@ -1203,6 +1203,7 @@ extern {
#[wasm_bindgen]
extern "C" {
#[derive(Clone, Debug)]
#[wasm_bindgen(extends = Object)]
pub type Math;
/// The Math.abs() function returns the absolute value of a number, that is