mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-24 14:42:35 +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;
|
|
},
|
|
};
|