Skip to content

Commit

Permalink
Normative: Add import.meta[Symbol.toStringTag]
Browse files Browse the repository at this point in the history
  • Loading branch information
ExE-Boss committed Jul 21, 2020
1 parent 69f5349 commit 8272d88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -14158,6 +14158,7 @@ <h1>Runtime Semantics: Evaluation</h1>
1. Let _importMeta_ be _module_.[[ImportMeta]].
1. If _importMeta_ is ~empty~, then
1. Set _importMeta_ to ! OrdinaryObjectCreate(*null*).
1. Perform ! DefinePropertyOrThrow(_importMeta_, @@toStringTag, Property Descriptor { [[Configurable]]: *true*, [[Enumerable]]: *false*, [[Writable]]: *true*, [[Value]]: *"ImportMeta"* } ).
1. Let _importMetaValues_ be ! HostGetImportMetaProperties(_module_).
1. For each Record { [[Key]], [[Value]] } _p_ that is an element of _importMetaValues_, do
1. Perform ! CreateDataPropertyOrThrow(_importMeta_, _p_.[[Key]], _p_.[[Value]]).
Expand Down

0 comments on commit 8272d88

Please sign in to comment.