Skip to content

Commit

Permalink
update to use new WebAssembly.Instance
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Feb 17, 2025
1 parent 9be75a9 commit c1b2870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ And for the source phase:
```html
<script type="module">
import source mod from './app.wasm';
const instance = WebAssembly.Instance(mod, { /* ...imports */ });
const instance = new WebAssembly.Instance(mod, { /* ...imports */ });
</script>
```

Expand Down

0 comments on commit c1b2870

Please sign in to comment.