Skip to content

Commit c1b2870

Browse files
committed
update to use new WebAssembly.Instance
1 parent 9be75a9 commit c1b2870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ And for the source phase:
538538
```html
539539
<script type="module">
540540
import source mod from './app.wasm';
541-
const instance = WebAssembly.Instance(mod, { /* ...imports */ });
541+
const instance = new WebAssembly.Instance(mod, { /* ...imports */ });
542542
</script>
543543
```
544544

0 commit comments

Comments
 (0)