StackAsk is a community where developers ask questions, share answers and learn from each others real-world experience, so every solved problem helps the next person who runs into it.
// Code WebAssembly dạng typescript export function sum(a: i32, b: i32): i32 { return a + b; }
// Code WebAssembly đã được biên dịch ;; INFO asc module.ts --textFile module.wat --outFile module.wasm --bindings raw -O3 --runtime stub (module (type $i32_i32_=>_i32 (func (param i32 i32) (result i32))) (memory $0 0) (export "sum" (func $module/sum)) (export "memory" (memory $0)) (func $module/sum (param $0 i32) (param $1 i32) (result i32) local.get $0 local.get $1 i32.add ) )
add
2.2K Point(s)
1.2K Point(s)
313 Point(s)
178 Point(s)
138 Point(s)
Input your email to receive reset password link, or if you remember your password, you can click