From 92fec1b785eb7fd60758cfed67e6b8c5b08fcd1f Mon Sep 17 00:00:00 2001 From: Bot Date: Thu, 19 Dec 2024 01:12:07 +0000 Subject: [PATCH] Update gh-pages --- index.html | 2 +- multipage/ecmascript-language-scripts-and-modules.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index d5443f4a72..4ce5d0806b 100644 --- a/index.html +++ b/index.html @@ -29340,7 +29340,7 @@

16.2.1.9 FinishLoadingImportedModule ( refe

16.2.1.10 GetModuleNamespace ( module )

-

The abstract operation GetModuleNamespace takes argument module (an instance of a concrete subclass of Module Record) and returns a Module Namespace Object or empty. It retrieves the Module Namespace Object representing module's exports, lazily creating it the first time it was requested, and storing it in module.[[Namespace]] for future retrieval. It performs the following steps when called:

+

The abstract operation GetModuleNamespace takes argument module (an instance of a concrete subclass of Module Record) and returns a Module Namespace Object. It retrieves the Module Namespace Object representing module's exports, lazily creating it the first time it was requested, and storing it in module.[[Namespace]] for future retrieval. It performs the following steps when called:

  1. Assert: If module is a Cyclic Module Record, then module.[[Status]] is not new or unlinked.
  2. Let namespace be module.[[Namespace]].
  3. If namespace is empty, then
    1. Let exportedNames be module.GetExportedNames().
    2. Let unambiguousNames be a new empty List.
    3. For each element name of exportedNames, do
      1. Let resolution be module.ResolveExport(name).
      2. If resolution is a ResolvedBinding Record, append name to unambiguousNames.
    4. Set namespace to ModuleNamespaceCreate(module, unambiguousNames).
  4. Return namespace.
Note
diff --git a/multipage/ecmascript-language-scripts-and-modules.html b/multipage/ecmascript-language-scripts-and-modules.html index d8b8d6275a..5746e6ff1a 100644 --- a/multipage/ecmascript-language-scripts-and-modules.html +++ b/multipage/ecmascript-language-scripts-and-modules.html @@ -2012,7 +2012,7 @@

16.2.1.9 FinishLoadingImportedModule ( refe

16.2.1.10 GetModuleNamespace ( module )

-

The abstract operation GetModuleNamespace takes argument module (an instance of a concrete subclass of Module Record) and returns a Module Namespace Object or empty. It retrieves the Module Namespace Object representing module's exports, lazily creating it the first time it was requested, and storing it in module.[[Namespace]] for future retrieval. It performs the following steps when called:

+

The abstract operation GetModuleNamespace takes argument module (an instance of a concrete subclass of Module Record) and returns a Module Namespace Object. It retrieves the Module Namespace Object representing module's exports, lazily creating it the first time it was requested, and storing it in module.[[Namespace]] for future retrieval. It performs the following steps when called:

  1. Assert: If module is a Cyclic Module Record, then module.[[Status]] is not new or unlinked.
  2. Let namespace be module.[[Namespace]].
  3. If namespace is empty, then
    1. Let exportedNames be module.GetExportedNames().
    2. Let unambiguousNames be a new empty List.
    3. For each element name of exportedNames, do
      1. Let resolution be module.ResolveExport(name).
      2. If resolution is a ResolvedBinding Record, append name to unambiguousNames.
    4. Set namespace to ModuleNamespaceCreate(module, unambiguousNames).
  4. Return namespace.
Note