mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-15 12:44:31 +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;
|
|
},
|
|
};
|