From 183f19db1e3998bd6a1e46a10cb5b6cac0ac21bc Mon Sep 17 00:00:00 2001
From: Jordan Harband
Date: Fri, 21 Aug 2020 11:16:28 -0700
Subject: [PATCH] Editorial: use dotted intrinsic form (#474)
Since https://github.com/tc39/ecma262/pull/1376, the dotted form of intrinsic notation is preferred.
Additionally, https://github.com/tc39/ecma262/pull/2056 intends to remove these legacy intrinsics, once it is non-normative to do so. HTML has already been updated to no longer use them.
---
spec/collator.html | 10 +++++-----
spec/conventions.html | 2 +-
spec/datetimeformat.html | 16 ++++++++--------
spec/intl.html | 2 +-
spec/locale.html | 8 ++++----
spec/negotiation.html | 10 +++++-----
spec/numberformat.html | 22 +++++++++++-----------
spec/pluralrules.html | 12 ++++++------
spec/relativetimeformat.html | 16 ++++++++--------
9 files changed, 49 insertions(+), 49 deletions(-)
diff --git a/spec/collator.html b/spec/collator.html
index da248d68..7982c592 100644
--- a/spec/collator.html
+++ b/spec/collator.html
@@ -75,7 +75,7 @@ Intl.Collator ( [ _locales_ [ , _options_ ] ] )
1. Append [[Numeric]] as the last element of _internalSlotsList_.
1. If %Collator%.[[RelevantExtensionKeys]] contains *"kf"*, then
1. Append [[CaseFirst]] as the last element of _internalSlotsList_.
- 1. Let _collator_ be ? OrdinaryCreateFromConstructor(_newTarget_, *"%CollatorPrototype%"*, _internalSlotsList_).
+ 1. Let _collator_ be ? OrdinaryCreateFromConstructor(_newTarget_, *"%Collator.prototype%"*, _internalSlotsList_).
1. Return ? InitializeCollator(_collator_, _locales_, _options_).
@@ -92,7 +92,7 @@ Properties of the Intl.Collator Constructor
Intl.Collator.prototype
- The value of `Intl.Collator.prototype` is %CollatorPrototype%.
+ The value of `Intl.Collator.prototype` is %Collator.prototype%.
@@ -146,7 +146,7 @@
Internal Slots
Properties of the Intl.Collator Prototype Object
- The Intl.Collator prototype object is itself an ordinary object. %CollatorPrototype% is not an Intl.Collator instance and does not have an [[InitializedCollator]] internal slot or any of the other internal slots of Intl.Collator instance objects.
+ The Intl.Collator prototype object is itself an ordinary object. %Collator.prototype% is not an Intl.Collator instance and does not have an [[InitializedCollator]] internal slot or any of the other internal slots of Intl.Collator instance objects.
@@ -271,7 +271,7 @@ Intl.Collator.prototype.resolvedOptions ()
1. Let _collator_ be the *this* value.
1. Perform ? RequireInternalSlot(_collator_, [[InitializedCollator]]).
- 1. Let _options_ be ! ObjectCreate(%ObjectPrototype%).
+ 1. Let _options_ be ! ObjectCreate(%Object.prototype%).
1. For each row of , except the header row, in table order, do
1. Let _p_ be the Property value of the current row.
1. Let _v_ be the value of _collator_'s internal slot whose name is the Internal Slot value of the current row.
@@ -338,7 +338,7 @@ Intl.Collator.prototype.resolvedOptions ()
Properties of Intl.Collator Instances
- Intl.Collator instances are ordinary objects that inherit properties from %CollatorPrototype%.
+ Intl.Collator instances are ordinary objects that inherit properties from %Collator.prototype%.
diff --git a/spec/conventions.html b/spec/conventions.html
index 50e07124..4fd33491 100644
--- a/spec/conventions.html
+++ b/spec/conventions.html
@@ -114,7 +114,7 @@
Well-Known Intrinsic Objects
%StringProto_indexOf% |
`String.prototype.indexOf` |
- The initial value of the *"indexOf"* data property of the intrinsic %StringPrototype% (ES2021, ) |
+ The initial value of the *"indexOf"* data property of the intrinsic %String.prototype% (ES2021, ) |
diff --git a/spec/datetimeformat.html b/spec/datetimeformat.html
index 11e52c7f..02c622f4 100644
--- a/spec/datetimeformat.html
+++ b/spec/datetimeformat.html
@@ -249,7 +249,7 @@ DateTime Format Functions
1. Let _dtf_ be _F_.[[DateTimeFormat]].
1. Assert: Type(_dtf_) is Object and _dtf_ has an [[InitializedDateTimeFormat]] internal slot.
1. If _date_ is not provided or is *undefined*, then
- 1. Let _x_ be Call(%Date_now%, *undefined*).
+ 1. Let _x_ be Call(%Date.now%, *undefined*).
1. Else,
1. Let _x_ be ? ToNumber(_date_).
1. Return ? FormatDateTime(_dtf_, _x_).
@@ -361,7 +361,7 @@ FormatDateTimeToParts ( _dateTimeFormat_, _x_ )
1. Let _result_ be ArrayCreate(0).
1. Let _n_ be 0.
1. For each _part_ in _parts_, do
- 1. Let _O_ be ObjectCreate(%ObjectPrototype%).
+ 1. Let _O_ be ObjectCreate(%Object.prototype%).
1. Perform ! CreateDataPropertyOrThrow(_O_, *"type"*, _part_.[[Type]]).
1. Perform ! CreateDataPropertyOrThrow(_O_, *"value"*, _part_.[[Value]]).
1. Perform ! CreateDataProperty(_result_, ! ToString(_n_), _O_).
@@ -489,7 +489,7 @@ Intl.DateTimeFormat ( [ _locales_ [ , _options_ ] ] )
1. If NewTarget is *undefined*, let _newTarget_ be the active function object, else let _newTarget_ be NewTarget.
- 1. Let _dateTimeFormat_ be ? OrdinaryCreateFromConstructor(_newTarget_, *"%DateTimeFormatPrototype%"*, « [[InitializedDateTimeFormat]], [[Locale]], [[Calendar]], [[NumberingSystem]], [[TimeZone]], [[Weekday]], [[Era]], [[Year]], [[Month]], [[Day]], [[Hour]], [[Minute]], [[Second]], [[TimeZoneName]], [[HourCycle]], [[Pattern]], [[BoundFormat]] »).
+ 1. Let _dateTimeFormat_ be ? OrdinaryCreateFromConstructor(_newTarget_, *"%DateTimeFormat.prototype%"*, « [[InitializedDateTimeFormat]], [[Locale]], [[Calendar]], [[NumberingSystem]], [[TimeZone]], [[Weekday]], [[Era]], [[Year]], [[Month]], [[Day]], [[Hour]], [[Minute]], [[Second]], [[TimeZoneName]], [[HourCycle]], [[Pattern]], [[BoundFormat]] »).
1. Perform ? InitializeDateTimeFormat(_dateTimeFormat_, _locales_, _options_).
@@ -518,7 +518,7 @@ Properties of the Intl.DateTimeFormat Constructor
Intl.DateTimeFormat.prototype
- The value of `Intl.DateTimeFormat.prototype` is %DateTimeFormatPrototype%.
+ The value of `Intl.DateTimeFormat.prototype` is %DateTimeFormat.prototype%.
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *false* }.
@@ -601,7 +601,7 @@
Internal slots
Properties of the Intl.DateTimeFormat Prototype Object
- The Intl.DateTimeFormat prototype object is itself an ordinary object. %DateTimeFormatPrototype% is not an Intl.DateTimeFormat instance and does not have an [[InitializedDateTimeFormat]] internal slot or any of the other internal slots of Intl.DateTimeFormat instance objects.
+ The Intl.DateTimeFormat prototype object is itself an ordinary object. %DateTimeFormat.prototype% is not an Intl.DateTimeFormat instance and does not have an [[InitializedDateTimeFormat]] internal slot or any of the other internal slots of Intl.DateTimeFormat instance objects.
@@ -659,7 +659,7 @@ Intl.DateTimeFormat.prototype.formatToParts ( _date_ )
1. Let _dtf_ be the *this* value.
1. Perform ? RequireInternalSlot(_dtf_, [[InitializedDateTimeFormat]]).
1. If _date_ is *undefined*, then
- 1. Let _x_ be Call(%Date_now%, *undefined*).
+ 1. Let _x_ be Call(%Date.now%, *undefined*).
1. Else,
1. Let _x_ be ? ToNumber(_date_).
1. Return ? FormatDateTimeToParts(_dtf_, _x_).
@@ -677,7 +677,7 @@ Intl.DateTimeFormat.prototype.resolvedOptions ()
1. Let _dtf_ be the *this* value.
1. If Type(_dtf_) is not Object, throw a *TypeError* exception.
1. Let _dtf_ be ? UnwrapDateTimeFormat(_dtf_).
- 1. Let _options_ be ! ObjectCreate(%ObjectPrototype%).
+ 1. Let _options_ be ! ObjectCreate(%Object.prototype%).
1. For each row of , except the header row, in table order, do
1. Let _p_ be the Property value of the current row.
1. If _p_ is *"hour12"*, then
@@ -782,7 +782,7 @@ Intl.DateTimeFormat.prototype.resolvedOptions ()
Properties of Intl.DateTimeFormat Instances
- Intl.DateTimeFormat instances are ordinary objects that inherit properties from %DateTimeFormatPrototype%.
+ Intl.DateTimeFormat instances are ordinary objects that inherit properties from %DateTimeFormat.prototype%.
diff --git a/spec/intl.html b/spec/intl.html
index 16ba9791..27e755cc 100644
--- a/spec/intl.html
+++ b/spec/intl.html
@@ -5,7 +5,7 @@
The Intl Object
- The value of the [[Prototype]] internal slot of the Intl object is the intrinsic object %ObjectPrototype%.
+ The value of the [[Prototype]] internal slot of the Intl object is the intrinsic object %Object.prototype%.
diff --git a/spec/locale.html b/spec/locale.html
index 6301b637..0ade6250 100644
--- a/spec/locale.html
+++ b/spec/locale.html
@@ -108,7 +108,7 @@
Intl.Locale( _tag_ [, _options_] )
1. Append [[CaseFirst]] as the last element of _internalSlotsList_.
1. If _relevantExtensionKeys_ contains *"kn"*, then
1. Append [[Numeric]] as the last element of _internalSlotsList_.
- 1. Let _locale_ be ? OrdinaryCreateFromConstructor(NewTarget, *%LocalePrototype%*, _internalSlotsList_).
+ 1. Let _locale_ be ? OrdinaryCreateFromConstructor(NewTarget, *%Locale.prototype%*, _internalSlotsList_).
1. If Type(_tag_) is not String or Object, throw a *TypeError* exception.
1. If Type(_tag_) is Object and _tag_ has an [[InitializedLocale]] internal slot, then
1. Let _tag_ be _tag_.[[Locale]].
@@ -168,7 +168,7 @@ Properties of the Intl.Locale Constructor
Intl.Locale.prototype
- The value of *Intl.Locale.prototype* is *%LocalePrototype%*.
+ The value of *Intl.Locale.prototype* is *%Locale.prototype%*.
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *false* }.
@@ -188,7 +188,7 @@
Internal slots
Properties of the Intl.Locale Prototype Object
- The Intl.Locale prototype object is itself an ordinary object. %LocalePrototype% is not an Intl.Locale instance and does not have an [[InitializedLocale]] internal slot or any of the other internal slots of Intl.Locale instance objects.
+ The Intl.Locale prototype object is itself an ordinary object. %Locale.prototype% is not an Intl.Locale instance and does not have an [[InitializedLocale]] internal slot or any of the other internal slots of Intl.Locale instance objects.
@@ -250,7 +250,7 @@ get Intl.Locale.prototype.baseName
1. Let _loc_ be the *this* value.
1. Perform ? RequireInternalSlot(_loc_, [[InitializedLocale]]).
1. Let _locale_ be _loc_.[[Locale]].
- 1. Return the substring of _locale_ corresponding to the `unicode_language_id` production.
+ 1. Return the substring of _locale_ corresponding to the `unicode_language_id` production.
diff --git a/spec/negotiation.html b/spec/negotiation.html
index 5cfa5aa1..f26851dd 100644
--- a/spec/negotiation.html
+++ b/spec/negotiation.html
@@ -139,7 +139,7 @@ UnicodeExtensionComponents( _extension_ )
1. Let _size_ be the number of elements in _extension_.
1. Let _k_ be 3.
1. Repeat, while _k_ < _size_
- 1. Let _e_ be ! Call(%StringProto_indexOf%, _extension_, « *"-"*, _k_ »).
+ 1. Let _e_ be ! Call(%String.prototype.indexOf%, _extension_, « *"-"*, _k_ »).
1. If _e_ = -1, let _len_ be _size_ - _k_; else let _len_ be _e_ - _k_.
1. Let _subtag_ be the String value equal to the substring of _extension_ consisting of the code units at indices _k_ (inclusive) through _k_ + _len_ (exclusive).
1. If _isKeyword_ is *false*, then
@@ -178,7 +178,7 @@ InsertUnicodeExtensionAndCanonicalize( _locale_, _extension_ )
1. Assert: _locale_ does not contain a substring that is a Unicode locale extension sequence.
1. Assert: _extension_ is a Unicode locale extension sequence.
1. Assert: _tag_ matches the `unicode_locale_id` production.
- 1. Let _privateIndex_ be ! Call(%StringProto_indexOf%, _locale_, « *"-x-"* »).
+ 1. Let _privateIndex_ be ! Call(%String.prototype.indexOf%, _locale_, « *"-x-"* »).
1. If _privateIndex_ = -1, then
1. Let _locale_ be the string-concatenation of _locale_ and _extension_.
1. Else,
@@ -367,12 +367,12 @@ PartitionPattern ( _pattern_ )
1. Let _result_ be a new empty List.
- 1. Let _beginIndex_ be ! Call(%StringProto_indexOf%, _pattern_, « *"{"*, 0 »).
+ 1. Let _beginIndex_ be ! Call(%String.prototype.indexOf%, _pattern_, « *"{"*, 0 »).
1. Let _endIndex_ be 0.
1. Let _nextIndex_ be 0.
1. Let _length_ be the number of code units in _pattern_.
1. Repeat, while _beginIndex_ is an integer index into _pattern_
- 1. Set _endIndex_ to ! Call(%StringProto_indexOf%, _pattern_, « *"}"*, _beginIndex_ »).
+ 1. Set _endIndex_ to ! Call(%String.prototype.indexOf%, _pattern_, « *"}"*, _beginIndex_ »).
1. Assert: _endIndex_ is greater than _beginIndex_.
1. If _beginIndex_ is greater than _nextIndex_, then
1. Let _literal_ be a substring of _pattern_ from position _nextIndex_, inclusive, to position _beginIndex_, exclusive.
@@ -380,7 +380,7 @@ PartitionPattern ( _pattern_ )
1. Let _p_ be the substring of _pattern_ from position _beginIndex_, exclusive, to position _endIndex_, exclusive.
1. Append a new Record { [[Type]]: _p_, [[Value]]: *undefined* } as the last element of the list _result_.
1. Set _nextIndex_ to _endIndex_ + 1.
- 1. Set _beginIndex_ to ! Call(%StringProto_indexOf%, _pattern_, « *"{"*, _nextIndex_ »).
+ 1. Set _beginIndex_ to ! Call(%String.prototype.indexOf%, _pattern_, « *"{"*, _nextIndex_ »).
1. If _nextIndex_ is less than _length_, then
1. Let _literal_ be the substring of _pattern_ from position _nextIndex_, inclusive, to position _length_, exclusive.
1. Append a new Record { [[Type]]: *"literal"*, [[Value]]: _literal_ } as the last element of the list _result_.
diff --git a/spec/numberformat.html b/spec/numberformat.html
index b948103d..e9970109 100644
--- a/spec/numberformat.html
+++ b/spec/numberformat.html
@@ -257,7 +257,7 @@ PartitionNotationSubPattern ( _numberFormat_, _x_, _n_, _exponent_ )
1. Let _digits_ be a List whose 10 String valued elements are the UTF-16 string representations of the 10 _digits_ specified in the *"Digits"* column of the matching row in .
1. Replace each _digit_ in _n_ with the value of _digits_[_digit_].
1. Else use an implementation dependent algorithm to map _n_ to the appropriate representation of _n_ in the given numbering system.
- 1. Let _decimalSepIndex_ be Call(%StringProto_indexOf%, _n_, « *"."*, 0 »).
+ 1. Let _decimalSepIndex_ be Call(%String.prototype.indexOf%, _n_, « *"."*, 0 »).
1. If _decimalSepIndex_ > 0, then
1. Let _integer_ be the substring of _n_ from position 0, inclusive, to position _decimalSepIndex_, exclusive.
1. Let _fraction_ be the substring of _n_ from position _decimalSepIndex_, exclusive, to the end of _n_.
@@ -557,7 +557,7 @@ PartitionNotationSubPattern ( _numberFormat_, _x_, _n_, _exponent_ )
tibt |
U+0F20 to U+0F29 |
-
+
tirh |
U+114D0 to U+114D9 |
@@ -614,7 +614,7 @@ FormatNumericToParts( _numberFormat_, _x_ )
1. Let _result_ be ArrayCreate(0).
1. Let _n_ be 0.
1. For each _part_ in _parts_, do
- 1. Let _O_ be ObjectCreate(%ObjectPrototype%).
+ 1. Let _O_ be ObjectCreate(%Object.prototype%).
1. Perform ! CreateDataPropertyOrThrow(_O_, *"type"*, _part_.[[Type]]).
1. Perform ! CreateDataPropertyOrThrow(_O_, *"value"*, _part_.[[Value]]).
1. Perform ! CreateDataPropertyOrThrow(_result_, ! ToString(_n_), _O_).
@@ -730,7 +730,7 @@ SetNumberFormatUnitOptions ( _intlObj_, _options_ )
1. Let _currency_ be ? GetOption(_options_, *"currency"*, *"string"*, *undefined*, *undefined*).
1. If _currency_ is *undefined*, then
1. If _style_ is *"currency"*, throw a *TypeError* exception.
- 1. Else,
+ 1. Else,
1. If the result of IsWellFormedCurrencyCode(_currency_) is *false*, throw a *RangeError* exception.
1. Let _currencyDisplay_ be ? GetOption(_options_, *"currencyDisplay"*, *"string"*, « *"code"*, *"symbol"*, *"narrowSymbol"*, *"name"* », *"symbol"*).
1. Let _currencySign_ be ? GetOption(_options_, *"currencySign"*, *"string"*, « *"standard"*, *"accounting"* », *"standard"*).
@@ -754,7 +754,7 @@ SetNumberFormatUnitOptions ( _intlObj_, _options_ )
GetNumberFormatPattern ( _numberFormat_, _x_ )
- The abstract operation GetNumberFormatPattern considers the resolved unit-related options in the number format object along with the final scaled and rounded number being formatted and returns a pattern, a String value as described in .
+ The abstract operation GetNumberFormatPattern considers the resolved unit-related options in the number format object along with the final scaled and rounded number being formatted and returns a pattern, a String value as described in .
1. Let _localeData_ be %NumberFormat%.[[LocaleData]].
@@ -814,7 +814,7 @@ GetNumberFormatPattern ( _numberFormat_, _x_ )
GetNotationSubPattern ( _numberFormat_, _exponent_ )
- The abstract operation GetNotationSubPattern considers the resolved notation and _exponent_, and returns a String value for the notation sub pattern as described in .
+ The abstract operation GetNotationSubPattern considers the resolved notation and _exponent_, and returns a String value for the notation sub pattern as described in .
1. Let _localeData_ be %NumberFormat%.[[LocaleData]].
@@ -896,7 +896,7 @@ Intl.NumberFormat ( [ _locales_ [ , _options_ ] ] )
1. If NewTarget is *undefined*, let _newTarget_ be the active function object, else let _newTarget_ be NewTarget.
- 1. Let _numberFormat_ be ? OrdinaryCreateFromConstructor(_newTarget_, *"%NumberFormatPrototype%"*, « [[InitializedNumberFormat]], [[Locale]], [[DataLocale]], [[NumberingSystem]], [[Style]], [[Unit]], [[UnitDisplay]], [[Currency]], [[CurrencyDisplay]], [[CurrencySign]], [[MinimumIntegerDigits]], [[MinimumFractionDigits]], [[MaximumFractionDigits]], [[MinimumSignificantDigits]], [[MaximumSignificantDigits]], [[RoundingType]], [[Notation]], [[CompactDisplay]], [[UseGrouping]], [[SignDisplay]], [[BoundFormat]] »).
+ 1. Let _numberFormat_ be ? OrdinaryCreateFromConstructor(_newTarget_, *"%NumberFormat.prototype%"*, « [[InitializedNumberFormat]], [[Locale]], [[DataLocale]], [[NumberingSystem]], [[Style]], [[Unit]], [[UnitDisplay]], [[Currency]], [[CurrencyDisplay]], [[CurrencySign]], [[MinimumIntegerDigits]], [[MinimumFractionDigits]], [[MaximumFractionDigits]], [[MinimumSignificantDigits]], [[MaximumSignificantDigits]], [[RoundingType]], [[Notation]], [[CompactDisplay]], [[UseGrouping]], [[SignDisplay]], [[BoundFormat]] »).
1. Perform ? InitializeNumberFormat(_numberFormat_, _locales_, _options_).
@@ -925,7 +925,7 @@ Properties of the Intl.NumberFormat Constructor
Intl.NumberFormat.prototype
- The value of `Intl.NumberFormat.prototype` is %NumberFormatPrototype%.
+ The value of `Intl.NumberFormat.prototype` is %NumberFormat.prototype%.
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *false* }.
@@ -988,7 +988,7 @@
Internal slots
Properties of the Intl.NumberFormat Prototype Object
- The Intl.NumberFormat prototype object is itself an ordinary object. %NumberFormatPrototype% is not an Intl.NumberFormat instance and does not have an [[InitializedNumberFormat]] internal slot or any of the other internal slots of Intl.NumberFormat instance objects.
+ The Intl.NumberFormat prototype object is itself an ordinary object. %NumberFormat.prototype% is not an Intl.NumberFormat instance and does not have an [[InitializedNumberFormat]] internal slot or any of the other internal slots of Intl.NumberFormat instance objects.
@@ -1060,7 +1060,7 @@ Intl.NumberFormat.prototype.resolvedOptions ()
1. Let _nf_ be the *this* value.
1. If Type(_nf_) is not Object, throw a *TypeError* exception.
1. Let _nf_ be ? UnwrapNumberFormat(_nf_).
- 1. Let _options_ be ! ObjectCreate(%ObjectPrototype%).
+ 1. Let _options_ be ! ObjectCreate(%Object.prototype%).
1. For each row of , except the header row, in table order, do
1. Let _p_ be the Property value of the current row.
1. Let _v_ be the value of _nf_'s internal slot whose name is the Internal Slot value of the current row.
@@ -1155,7 +1155,7 @@ Intl.NumberFormat.prototype.resolvedOptions ()
Properties of Intl.NumberFormat Instances
- Intl.NumberFormat instances are ordinary objects that inherit properties from %NumberFormatPrototype%.
+ Intl.NumberFormat instances are ordinary objects that inherit properties from %NumberFormat.prototype%.
diff --git a/spec/pluralrules.html b/spec/pluralrules.html
index 7d07cf93..ab3cebea 100644
--- a/spec/pluralrules.html
+++ b/spec/pluralrules.html
@@ -41,7 +41,7 @@
GetOperands ( _s_ )
1. Assert: Type(_s_) is String.
1. Let _n_ be ! ToNumber(_s_).
1. Assert: _n_ is finite.
- 1. Let _dp_ be ! Call(%StringProto_indexOf%, _s_, « *"."* »).
+ 1. Let _dp_ be ! Call(%String.prototype.indexOf%, _s_, « *"."* »).
1. If _dp_ = -1, then
1. Set _iv_ to _n_.
1. Let _f_ be 0.
@@ -157,7 +157,7 @@ Intl.PluralRules ( [ _locales_ [ , _options_ ] ] )
1. If NewTarget is *undefined*, throw a *TypeError* exception.
- 1. Let _pluralRules_ be ? OrdinaryCreateFromConstructor(NewTarget, *"%PluralRulesPrototype%"*, « [[InitializedPluralRules]], [[Locale]], [[Type]], [[MinimumIntegerDigits]], [[MinimumFractionDigits]], [[MaximumFractionDigits]], [[MinimumSignificantDigits]], [[MaximumSignificantDigits]], [[RoundingType]] »).
+ 1. Let _pluralRules_ be ? OrdinaryCreateFromConstructor(NewTarget, *"%PluralRules.prototype%"*, « [[InitializedPluralRules]], [[Locale]], [[Type]], [[MinimumIntegerDigits]], [[MinimumFractionDigits]], [[MaximumFractionDigits]], [[MinimumSignificantDigits]], [[MaximumSignificantDigits]], [[RoundingType]] »).
1. Return ? InitializePluralRules(_pluralRules_, _locales_, _options_).
@@ -174,7 +174,7 @@ Properties of the Intl.PluralRules Constructor
Intl.PluralRules.prototype
- The value of `Intl.PluralRules.prototype` is %PluralRulesPrototype%.
+ The value of `Intl.PluralRules.prototype` is %PluralRules.prototype%.
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *false* }.
@@ -229,7 +229,7 @@
Internal slots
Properties of the Intl.PluralRules Prototype Object
- The Intl.PluralRules prototype object is itself an ordinary object. %PluralRulesPrototype% is not an Intl.PluralRules instance and does not have an [[InitializedPluralRules]] internal slot or any of the other internal slots of Intl.PluralRules instance objects.
+ The Intl.PluralRules prototype object is itself an ordinary object. %PluralRules.prototype% is not an Intl.PluralRules instance and does not have an [[InitializedPluralRules]] internal slot or any of the other internal slots of Intl.PluralRules instance objects.
@@ -276,7 +276,7 @@ Intl.PluralRules.prototype.resolvedOptions ()
1. Let _pr_ be the *this* value.
1. Perform ? RequireInternalSlot(_pr_, [[InitializedPluralRules]]).
- 1. Let _options_ be ! ObjectCreate(%ObjectPrototype%).
+ 1. Let _options_ be ! ObjectCreate(%Object.prototype%).
1. For each row of , except the header row, in table order, do
1. Let _p_ be the Property value of the current row.
1. Let _v_ be the value of _pr_'s internal slot whose name is the Internal Slot value of the current row.
@@ -333,7 +333,7 @@ Intl.PluralRules.prototype.resolvedOptions ()
Properties of Intl.PluralRules Instances
- Intl.PluralRules instances are ordinary objects that inherit properties from %PluralRulesPrototype%.
+ Intl.PluralRules instances are ordinary objects that inherit properties from %PluralRules.prototype%.
diff --git a/spec/relativetimeformat.html b/spec/relativetimeformat.html
index 3124b46c..89f0a174 100644
--- a/spec/relativetimeformat.html
+++ b/spec/relativetimeformat.html
@@ -170,7 +170,7 @@
FormatRelativeTimeToParts ( _relativeTimeFormat_, _value_, _unit_ )
1. Let _result_ be ArrayCreate(0).
1. Let _n_ be 0.
1. For each _part_ in _parts_, do
- 1. Let _O_ be ObjectCreate(%ObjectPrototype%).
+ 1. Let _O_ be ObjectCreate(%Object.prototype%).
1. Perform ! CreateDataPropertyOrThrow(_O_, *"type"*, _part_.[[Type]]).
1. Perform ! CreateDataPropertyOrThrow(_O_, *"value"*, _part_.[[Value]]).
1. If _part_ has a [[Unit]] field,
@@ -198,7 +198,7 @@ Intl.RelativeTimeFormat ([ _locales_ [ , _options_ ]])
1. If NewTarget is *undefined*, throw a *TypeError* exception.
- 1. Let _relativeTimeFormat_ be ? OrdinaryCreateFromConstructor(NewTarget, *"%RelativeTimeFormatPrototype%"*, « [[InitializedRelativeTimeFormat]], [[Locale]], [[DataLocale]], [[Style]], [[Numeric]], [[NumberFormat]], [[NumberingSystem]], [[PluralRules]] »).
+ 1. Let _relativeTimeFormat_ be ? OrdinaryCreateFromConstructor(NewTarget, *"%RelativeTimeFormat.prototype%"*, « [[InitializedRelativeTimeFormat]], [[Locale]], [[DataLocale]], [[Style]], [[Numeric]], [[NumberFormat]], [[NumberingSystem]], [[PluralRules]] »).
1. Return ? InitializeRelativeTimeFormat(_relativeTimeFormat_, _locales_, _options_).
@@ -215,7 +215,7 @@ Properties of the Intl.RelativeTimeFormat Constructor
Intl.RelativeTimeFormat.prototype
- The value of `Intl.RelativeTimeFormat.prototype` is %RelativeTimeFormatPrototype%.
+ The value of `Intl.RelativeTimeFormat.prototype` is %RelativeTimeFormat.prototype%.
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *false* }.
@@ -235,11 +235,11 @@
Intl.RelativeTimeFormat.supportedLocalesOf ( _locales_ [, _options_ ])
1. Return ? SupportedLocales(_availableLocales_, _requestedLocales_, _options_).
-
+
The value of the *"length"* property of the *supportedLocalesOf* method is 1.
-
+
Internal slots
@@ -281,7 +281,7 @@ Internal slots
Properties of the Intl.RelativeTimeFormat Prototype Object
- The Intl.RelativeTimeFormat prototype object is itself an ordinary object. %RelativeTimeFormatPrototype% is not an Intl.RelativeTimeFormat instance and does not have an [[InitializedRelativeTimeFormat]] internal slot or any of the other internal slots of Intl.RelativeTimeFormat instance objects.
+ The Intl.RelativeTimeFormat prototype object is itself an ordinary object. %RelativeTimeFormat.prototype% is not an Intl.RelativeTimeFormat instance and does not have an [[InitializedRelativeTimeFormat]] internal slot or any of the other internal slots of Intl.RelativeTimeFormat instance objects.
@@ -345,7 +345,7 @@ Intl.RelativeTimeFormat.prototype.resolvedOptions ()
1. Let _relativeTimeFormat_ be the *this* value.
1. Perform ? RequireInternalSlot(_relativeTimeFormat_, [[InitializedRelativeTimeFormat]]).
- 1. Let _options_ be ! ObjectCreate(%ObjectPrototype%).
+ 1. Let _options_ be ! ObjectCreate(%Object.prototype%).
1. For each row of , except the header row, in table order, do
1. Let _p_ be the Property value of the current row.
1. Let _v_ be the value of _relativeTimeFormat_'s internal slot whose name is the Internal Slot value of the current row.
@@ -388,7 +388,7 @@ Intl.RelativeTimeFormat.prototype.resolvedOptions ()
Properties of Intl.RelativeTimeFormat Instances
- Intl.RelativeTimeFormat instances are ordinary objects that inherit properties from %RelativeTimeFormatPrototype%.
+ Intl.RelativeTimeFormat instances are ordinary objects that inherit properties from %RelativeTimeFormat.prototype%.