Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normative: Define @@toStringTag for Intl namespace object #487

Merged
merged 1 commit into from
Aug 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions spec/annexes.html
Original file line number Diff line number Diff line change
Expand Up @@ -167,5 +167,8 @@ <h1>Additions and Changes That Introduce Incompatibilities with Prior Editions</
<li>
<emu-xref href="#sec-intl.pluralrules.prototype-tostringtag"></emu-xref> In ECMA-402, 7th Edition, the @@toStringTag property of `Intl.PluralRules.prototype` was set to *"Object"*. In 8th Edition, @@toStringTag is set to *"Intl.PluralRules"*.
</li>
<li>
<emu-xref href="#sec-Intl-toStringTag"></emu-xref> In ECMA-402, 7th Edition, the @@toStringTag property of `Intl` was not defined. In 8th Edition, @@toStringTag is set to *"Intl"*.
</li>
</ul>
</emu-annex>
15 changes: 15 additions & 0 deletions spec/intl.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,21 @@ <h1>The Intl Object</h1>
The Intl object has an internal slot, [[FallbackSymbol]], which is a new %Symbol% in the current realm with the [[Description]] *"IntlLegacyConstructedSymbol"*.
</p>

<emu-clause id="sec-value-properties-of-the-intl-object">
<h1>Value Properties of the Intl Object</h1>

<emu-clause id="sec-Intl-toStringTag">
<h1>Intl[ @@toStringTag ]</h1>

<p>
The initial value of the @@toStringTag property is the string value *"Intl"*.
</p>
<p>
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.
</p>
</emu-clause>
</emu-clause>

<emu-clause id="sec-constructor-properties-of-the-intl-object">
<h1>Constructor Properties of the Intl Object</h1>

Expand Down