aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/wasm_exec.js
diff options
context:
space:
mode:
authorYongbin Kim <[email protected]>2021-02-20 23:44:47 +0900
committerRon Evans <[email protected]>2021-02-21 09:18:44 +0100
commit9f06798cb962d6e743d1558238c07a292bee4141 (patch)
tree2f865c13c57becaa9532467a2bb061facd26eddf /targets/wasm_exec.js
parentce407ddf1b2a29f8d76cacf6fe425891b283ae93 (diff)
downloadtinygo-9f06798cb962d6e743d1558238c07a292bee4141.tar.gz
tinygo-9f06798cb962d6e743d1558238c07a292bee4141.zip
Fix typo in wasm_exec.js, syscall/js.valueLoadString()
Diffstat (limited to 'targets/wasm_exec.js')
-rw-r--r--targets/wasm_exec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/targets/wasm_exec.js b/targets/wasm_exec.js
index a0dd10a1e..eb153ed04 100644
--- a/targets/wasm_exec.js
+++ b/targets/wasm_exec.js
@@ -408,7 +408,7 @@
// func valueInstanceOf(v ref, t ref) bool
"syscall/js.valueInstanceOf": (v_addr, t_addr) => {
- return loadValue(v_attr) instanceof loadValue(t_addr);
+ return loadValue(v_addr) instanceof loadValue(t_addr);
},
// func copyBytesToGo(dst []byte, src ref) (int, bool)