Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit 91c9394

Browse files
committed
fixup! Update document/js-api/index.bs
1 parent 540f363 commit 91c9394

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

document/js-api/index.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -403,9 +403,9 @@ A {{Module}} object represents a single WebAssembly module. Each {{Module}} obje
403403
1. If |externtype| is of the form [=externtype/tag=] |attribute| <var ignore>functype</var>,
404404
1. Assert: |attribute| is [=tagtype/attribute/exception=].
405405
1. If |v| does not [=implement=] {{Tag}}, throw a {{LinkError}} exception.
406-
1. Let |tag| be |v|.\[[Address]].
407-
1. Let |extern| be the [=external value=] [=external value/tag=] |tag|.
408-
1. [=list/Append=] |extern| to |imports|.
406+
1. Let |tagaddr| be |v|.\[[Address]].
407+
1. Let |externtag| be the [=external value=] [=external value/tag=] |tagaddr|.
408+
1. [=list/Append=] |externtag| to |imports|.
409409
1. Return |imports|.
410410

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

0 commit comments

Comments
 (0)