Skip to content

Commit

Permalink
fixup! Update document/js-api/index.bs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger committed Jun 23, 2021
1 parent 540f363 commit 91c9394
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions document/js-api/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,9 @@ A {{Module}} object represents a single WebAssembly module. Each {{Module}} obje
1. If |externtype| is of the form [=externtype/tag=] |attribute| <var ignore>functype</var>,
1. Assert: |attribute| is [=tagtype/attribute/exception=].
1. If |v| does not [=implement=] {{Tag}}, throw a {{LinkError}} exception.
1. Let |tag| be |v|.\[[Address]].
1. Let |extern| be the [=external value=] [=external value/tag=] |tag|.
1. [=list/Append=] |extern| to |imports|.
1. Let |tagaddr| be |v|.\[[Address]].
1. Let |externtag| be the [=external value=] [=external value/tag=] |tagaddr|.
1. [=list/Append=] |externtag| to |imports|.
1. Return |imports|.

Note: This algorithm only verifies the right kind of JavaScript values are passed.
Expand Down

0 comments on commit 91c9394

Please sign in to comment.