diff --git a/document/js-api/index.bs b/document/js-api/index.bs index ec224142..bcf302bd 100644 --- a/document/js-api/index.bs +++ b/document/js-api/index.bs @@ -80,6 +80,7 @@ urlPrefix: https://tc39.github.io/ecma262/; spec: ECMASCRIPT text: Cyclic Module Record; url: cyclic-module-record text: GetMethod; url: sec-getmethod text: ToBigInt64; url: #sec-tobigint64 + text: Module Namespace exotic object; url: #sec-module-namespace-exotic-objects type: abstract-op text: CreateDataPropertyOrThrow; url: sec-createdatapropertyorthrow text: CreateMethodProperty; url: sec-createmethodproperty @@ -631,6 +632,7 @@ Note: Some implementations enforce a size limitation on |bytes|. Use of this API interface Instance { constructor(Module module, optional object importObject); readonly attribute object exports; + static Instance namespaceInstance(ModuleNamespace moduleNamespace); }; @@ -648,6 +650,14 @@ Note: The use of this synchronous API is discouraged, as some implementations so The getter of the exports attribute of {{Instance}} returns **this**.\[[Exports]]. +