wasm-bindgen/crates/webidl-tests/namespace.js

10 lines
139 B
JavaScript
Raw Normal View History

global.math_test = {
pow(base, exp) {
return Math.pow(base, exp);
},
2018-08-12 23:11:02 +03:00
add_one(val) {
return val + 1;
},
};