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