mirror of
https://github.com/denoland/deno.git
synced 2024-12-30 02:59:11 -05:00
5 lines
120 B
TypeScript
5 lines
120 B
TypeScript
|
import WasmModule = require("./math.wasm");
|
||
|
|
||
|
console.log(WasmModule.add(1, 2));
|
||
|
console.log(WasmModule.subtract(9, 3));
|