From 83223c62475e73bb3b78a62ed16dbe7450560f24 Mon Sep 17 00:00:00 2001 From: Alexey Shvayka Date: Tue, 21 Jul 2020 05:33:07 +0300 Subject: [PATCH] Normative: Define @@toStringTag for Intl namespace object --- spec/annexes.html | 3 +++ spec/intl.html | 15 +++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/spec/annexes.html b/spec/annexes.html index e73a6e3e..d8dd49ad 100644 --- a/spec/annexes.html +++ b/spec/annexes.html @@ -167,5 +167,8 @@

Additions and Changes That Introduce Incompatibilities with Prior Editions 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"*. +
  • + In ECMA-402, 7th Edition, the @@toStringTag property of `Intl` was not defined. In 8th Edition, @@toStringTag is set to *"Intl"*. +
  • diff --git a/spec/intl.html b/spec/intl.html index 43536323..16ba9791 100644 --- a/spec/intl.html +++ b/spec/intl.html @@ -16,6 +16,21 @@

    The Intl Object

    The Intl object has an internal slot, [[FallbackSymbol]], which is a new %Symbol% in the current realm with the [[Description]] *"IntlLegacyConstructedSymbol"*.

    + +

    Value Properties of the Intl Object

    + + +

    Intl[ @@toStringTag ]

    + +

    + The initial value of the @@toStringTag property is the string value *"Intl"*. +

    +

    + This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }. +

    +
    +
    +

    Constructor Properties of the Intl Object