Add math mod for lib

This commit is contained in:
2020-08-20 15:27:50 +07:00
parent 39101f2081
commit 0ae0b214bc
6 changed files with 35 additions and 12 deletions

View File

@@ -3,3 +3,6 @@ import * as wasm from "./../pkg/wasmweb_sample"
wasm.greet()
wasm.log("[WEB] external logging...")
const sum = wasm.just_sum()
console.log("Sum of number", sum)