Commit 25266d0804
Changed files (1)
doc/langref.html.in
@@ -10543,8 +10543,8 @@ const typedArray = new Uint8Array(source);
WebAssembly.instantiate(typedArray, {
env: {
- print: (result) => { console.log(`The result is ${result}`); }
- }}).then(result => {
+ print: (result) => { console.log(`The result is ${result}`); }
+ }}).then(result => {
const add = result.instance.exports.add;
add(1, 2);
});{#end_syntax_block#}