Skip to content

Commit

Permalink
Rename object key in WebAssembly.instantiate() doc for clarity
Browse files Browse the repository at this point in the history
Fixes #26785
  • Loading branch information
sideshowbarker committed Jul 26, 2023
1 parent 203d1f3 commit 162eddd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ that is exported by the `Instance`.

```js
const importObject = {
imports: {
my_imports: {
imported_func(arg) {
console.log(arg);
},
Expand Down Expand Up @@ -142,7 +142,7 @@ exported function from inside it.

```js
const importObject = {
imports: {
my_imports: {
imported_func(arg) {
console.log(arg);
},
Expand Down

0 comments on commit 162eddd

Please sign in to comment.