mirror of
https://github.com/denoland/deno.git
synced 2024-12-20 22:34:46 -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));
|