mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-23 17:51:33 +00:00
Merge branch 'master' of https://github.com/rustwasm/wasm-bindgen
This commit is contained in:
9
crates/webidl-tests/namespace.js
Normal file
9
crates/webidl-tests/namespace.js
Normal file
@ -0,0 +1,9 @@
|
||||
global.math_test = {
|
||||
pow(base, exp) {
|
||||
return Math.pow(base, exp);
|
||||
},
|
||||
|
||||
add_one(val) {
|
||||
return val + 1;
|
||||
},
|
||||
};
|
Reference in New Issue
Block a user