Skip to content

Commit

Permalink
docs(getting_started): fix WebAssembly example (denoland#8028)
Browse files Browse the repository at this point in the history
  • Loading branch information
caspervonb committed Oct 19, 2020
1 parent 19b918d commit e587637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getting_started/webassembly.md
Expand Up @@ -16,5 +16,5 @@ const wasmCode = new Uint8Array([
const wasmModule = new WebAssembly.Module(wasmCode);
const wasmInstance = new WebAssembly.Instance(wasmModule);
const main = wasmInstance.exports.main as CallableFunction
console.log(wasmInstance.exports.main().toString());
console.log(main().toString());
```

0 comments on commit e587637

Please sign in to comment.