mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 00:29:09 -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));
|