mirror of
https://github.com/denoland/deno.git
synced 2024-12-21 06:44:45 -05:00
8 lines
144 B
JavaScript
8 lines
144 B
JavaScript
|
import {
|
||
|
add,
|
||
|
subtract,
|
||
|
} from "http://localhost:4545/wasm/math_with_import.wasm";
|
||
|
|
||
|
console.log(add(1, 2));
|
||
|
console.log(subtract(100, 50));
|