From 59adc4aa550cd1f9c9c9138336bbdc0cff638e92 Mon Sep 17 00:00:00 2001 From: Wink Saville Date: Thu, 27 Jul 2017 10:40:05 -0700 Subject: [PATCH] Fix a missing paren (#53) In section "Initializing Memory Only Once" the WebAssembly.instantiate is missing a paren. --- proposals/threads/Overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposals/threads/Overview.md b/proposals/threads/Overview.md index 6aed7038c5..4ca9e955b3 100644 --- a/proposals/threads/Overview.md +++ b/proposals/threads/Overview.md @@ -186,7 +186,7 @@ For example: ...) WebAssembly.instantiate(dataModuleBytes, {}).then( - ({instance} => { + ({instance}) => { let imports = {env: {memory: instance.exports.memory}}; WebAssembly.instantiate(mainModuleBytes, imports).then(...); });