diff --git a/document/js-api/index.bs b/document/js-api/index.bs index 01dfc58e..8c8310de 100644 --- a/document/js-api/index.bs +++ b/document/js-api/index.bs @@ -460,7 +460,9 @@ To <dfn>instantiate imported strings</dfn> with module |module| and |importedStr 1. Let |imports| be « ». 1. [=list/iterate|For each=] (|moduleName|, |componentName|, |externtype|) of [=module_imports=](|module|), 1. If |builtinOrStringImports| [=map/exist|contains=] |moduleName|, - 1. Let |o| be |builtinOrStringImports|[|moduleName|] + 1. Let |o| be |builtinOrStringImports|[|moduleName|]. + 1. If |o| [=is not an Object=] or if |o| [=map/exist|does not contain=] |componentName|, + 1. Set |o| to [=?=] [$Get$](|importObject|, |moduleName|). 1. Else, 1. Let |o| be [=?=] [$Get$](|importObject|, |moduleName|). 1. If |o| [=is not an Object=], throw a {{TypeError}} exception.