mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-22 17:41:33 +03:00
10 lines
139 B
JavaScript
10 lines
139 B
JavaScript
global.math_test = {
|
|
pow(base, exp) {
|
|
return Math.pow(base, exp);
|
|
},
|
|
|
|
add_one(val) {
|
|
return val + 1;
|
|
},
|
|
};
|