browser.js |
|
0 |
builtin.js |
---
esid: sec-intl.supportedvaluesof
description: >
Intl.supportedValuesOf is a built-in function object..
info: |
Intl.supportedValuesOf ( key )
18 ECMAScript Standard Built-in Objects:
Unless specified otherwise, a built-in object that is callable as a function
is a built-in function object with the characteristics described in 10.3.
Unless specified otherwise, the [[Extensible]] internal slot of a built-in
object initially has the value true.
Unless otherwise specified every built-in function and every built-in
constructor has the Function prototype object, which is the initial value
of the expression Function.prototype (20.2.3), as the value of its
[[Prototype]] internal slot.
Built-in function objects that are not identified as constructors do not
implement the [[Construct]] internal method unless otherwise specified in
the description of a particular function.
includes: [isConstructor.js]
features: [Intl-enumeration, Reflect.construct]
--- |
1825 |
calendars-accepted-by-DateTimeFormat.js |
---
esid: sec-intl.supportedvaluesof
description: >
The returned "calendar" values can be used with DateTimeFormat.
info: |
Intl.supportedValuesOf ( key )
1. Let key be ? ToString(key).
2. If key is "calendar", then
a. Let list be ! AvailableCalendars( ).
...
9. Return ! CreateArrayFromList( list ).
AvailableCalendars ( )
The AvailableCalendars abstract operation returns a List, ordered as if an
Array of the same values had been sorted using %Array.prototype.sort% using
undefined as comparefn, that contains unique calendar types identifying the
calendars for which the implementation provides the functionality of
Intl.DateTimeFormat objects. The list must include "gregory".
includes: [testIntl.js]
locale: [en]
features: [Intl-enumeration, Array.prototype.includes]
--- |
1647 |
calendars-accepted-by-DisplayNames.js |
---
esid: sec-intl.supportedvaluesof
description: >
The returned "calendar" values can be used with DisplayNames.
info: |
Intl.supportedValuesOf ( key )
1. Let key be ? ToString(key).
2. If key is "calendar", then
a. Let list be ! AvailableCalendars( ).
...
9. Return ! CreateArrayFromList( list ).
AvailableCalendars ( )
The AvailableCalendars abstract operation returns a List, ordered as if an
Array of the same values had been sorted using %Array.prototype.sort% using
undefined as comparefn, that contains unique calendar types identifying the
calendars for which the implementation provides the functionality of
Intl.DateTimeFormat objects. The list must include "gregory".
includes: [testIntl.js]
locale: [en]
features: [Intl-enumeration, Intl.DisplayNames-v2, Array.prototype.includes]
--- |
1621 |
calendars.js |
---
esid: sec-intl.supportedvaluesof
description: >
The returned "calendar" values are sorted, unique, and match the type production.
info: |
Intl.supportedValuesOf ( key )
1. Let key be ? ToString(key).
2. If key is "calendar", then
a. Let list be ! AvailableCalendars( ).
...
9. Return ! CreateArrayFromList( list ).
AvailableCalendars ( )
The AvailableCalendars abstract operation returns a List, ordered as if an
Array of the same values had been sorted using %Array.prototype.sort% using
undefined as comparefn, that contains unique calendar types identifying the
calendars for which the implementation provides the functionality of
Intl.DateTimeFormat objects. The list must include "gregory".
includes: [compareArray.js]
features: [Intl-enumeration, Intl.Locale, Array.prototype.includes]
--- |
2113 |
coerced-to-string.js |
---
esid: sec-intl.supportedvaluesof
description: >
Input key is coerced with ToString.
info: |
Intl.supportedValuesOf ( key )
1. Let key be ? ToString(key).
2. If key is "calendar", then
a. Let list be ! AvailableCalendars( ).
...
9. Return ! CreateArrayFromList( list ).
includes: [compareArray.js]
features: [Intl-enumeration]
--- |
951 |
collations-accepted-by-Collator.js |
---
esid: sec-intl.supportedvaluesof
description: >
The returned "collation" values can be used with Collator.
info: |
Intl.supportedValuesOf ( key )
1. Let key be ? ToString(key).
...
3. Else if key is "collation", then
a. Let list be ! AvailableCollations( ).
...
9. Return ! CreateArrayFromList( list ).
AvailableCollations ( )
The AvailableCollations abstract operation returns a List, ordered as if an
Array of the same values had been sorted using %Array.prototype.sort% using
undefined as comparefn, that contains unique collation types identifying the
collations for which the implementation provides the functionality of
Intl.Collator objects.
includes: [testIntl.js]
locale: [en, ar, de, es, ko, ln, si, sv, zh]
features: [Intl-enumeration, Array.prototype.includes]
--- |
2472 |
collations.js |
---
esid: sec-intl.supportedvaluesof
description: >
The returned "collation" values are sorted, unique, and match the type production.
info: |
Intl.supportedValuesOf ( key )
1. Let key be ? ToString(key).
...
3. Else if key is "collation", then
a. Let list be ! AvailableCollations( ).
...
9. Return ! CreateArrayFromList( list ).
AvailableCollations ( )
The AvailableCollations abstract operation returns a List, ordered as if an
Array of the same values had been sorted using %Array.prototype.sort% using
undefined as comparefn, that contains unique collation types identifying the
collations for which the implementation provides the functionality of
Intl.Collator objects.
includes: [compareArray.js]
features: [Intl-enumeration, Intl.Locale, Array.prototype.includes]
--- |
2219 |
currencies-accepted-by-DisplayNames.js |
---
esid: sec-intl.supportedvaluesof
description: >
The returned "currency" values can be used with DisplayNames.
info: |
Intl.supportedValuesOf ( key )
1. Let key be ? ToString(key).
...
4. Else if key is "currency", then
a. Let list be ! AvailableCurrencies( ).
...
9. Return ! CreateArrayFromList( list ).
AvailableCurrencies ( )
The AvailableCurrencies abstract operation returns a List, ordered as if an
Array of the same values had been sorted using %Array.prototype.sort% using
undefined as comparefn, that contains unique, well-formed, and upper case
canonicalized 3-letter ISO 4217 currency codes, identifying the currencies
for which the implementation provides the functionality of Intl.DisplayNames
and Intl.NumberFormat objects.
locale: [en]
features: [Intl-enumeration, Intl.DisplayNames, Array.prototype.includes]
--- |
1833 |
currencies-accepted-by-NumberFormat.js |
---
esid: sec-intl.supportedvaluesof
description: >
The returned "currency" values can be used with NumberFormat.
info: |
Intl.supportedValuesOf ( key )
1. Let key be ? ToString(key).
...
4. Else if key is "currency", then
a. Let list be ! AvailableCurrencies( ).
...
9. Return ! CreateArrayFromList( list ).
AvailableCurrencies ( )
The AvailableCurrencies abstract operation returns a List, ordered as if an
Array of the same values had been sorted using %Array.prototype.sort% using
undefined as comparefn, that contains unique, well-formed, and upper case
canonicalized 3-letter ISO 4217 currency codes, identifying the currencies
for which the implementation provides the functionality of Intl.DisplayNames
and Intl.NumberFormat objects.
locale: [en]
features: [Intl-enumeration]
--- |
1815 |
currencies.js |
---
esid: sec-intl.supportedvaluesof
description: >
The returned "currency" values are sorted, unique, and upper-case canonicalised.
info: |
Intl.supportedValuesOf ( key )
1. Let key be ? ToString(key).
...
4. Else if key is "currency", then
a. Let list be ! AvailableCurrencies( ).
...
9. Return ! CreateArrayFromList( list ).
AvailableCurrencies ( )
The AvailableCurrencies abstract operation returns a List, ordered as if an
Array of the same values had been sorted using %Array.prototype.sort% using
undefined as comparefn, that contains unique, well-formed, and upper case
canonicalized 3-letter ISO 4217 currency codes, identifying the currencies
for which the implementation provides the functionality of Intl.DisplayNames
and Intl.NumberFormat objects.
includes: [compareArray.js]
features: [Intl-enumeration]
--- |
1826 |
invalid-key.js |
---
esid: sec-intl.supportedvaluesof
description: >
Intl.supportedValuesOf throws a RangeError if the key is invalid.
info: |
Intl.supportedValuesOf ( key )
1. Let key be ? ToString(key).
...
8. Else,
a. Throw a RangeError exception.
...
features: [Intl-enumeration]
--- |
1122 |
length.js |
---
esid: sec-intl.supportedvaluesof
description: >
Intl.supportedValuesOf.length value and descriptor.
info: |
Intl.supportedValuesOf ( key )
18 ECMAScript Standard Built-in Objects:
Every built-in function object, including constructors, has a "length"
property whose value is a non-negative integral Number. Unless otherwise
specified, this value is equal to the number of required parameters shown in
the subclause heading for the function description. Optional parameters and
rest parameters are not included in the parameter count.
Unless otherwise specified, the "length" property of a built-in function
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
[[Configurable]]: true }.
includes: [propertyHelper.js]
features: [Intl-enumeration]
--- |
1099 |
name.js |
---
esid: sec-intl.supportedvaluesof
description: >
Intl.supportedValuesOf.name value and descriptor.
info: |
Intl.supportedValuesOf ( key )
18 ECMAScript Standard Built-in Objects:
Every built-in function object, including constructors, has a "name"
property whose value is a String. Unless otherwise specified, this value is
the name that is given to the function in this specification. Functions that
are identified as anonymous functions use the empty String as the value of
the "name" property. For functions that are specified as properties of
objects, the name value is the property name string used to access the
function.
Unless otherwise specified, the "name" property of a built-in function object
has the attributes { [[Writable]]: false, [[Enumerable]]: false,
[[Configurable]]: true }.
includes: [propertyHelper.js]
features: [Intl-enumeration]
--- |
1214 |
numberingSystems-accepted-by-DateTimeFormat.js |
---
esid: sec-intl.supportedvaluesof
description: >
The returned "numberingSystem" values can be used with DateTimeFormat.
info: |
Intl.supportedValuesOf ( key )
1. Let key be ? ToString(key).
...
5. Else if key is "numberingSystem", then
a. Let list be ! AvailableNumberingSystems( ).
...
9. Return ! CreateArrayFromList( list ).
AvailableNumberingSystems ( )
The AvailableNumberingSystems abstract operation returns a List, ordered as
if an Array of the same values had been sorted using %Array.prototype.sort%
using undefined as comparefn, that contains unique numbering systems
identifiers identifying the numbering systems for which the implementation
provides the functionality of Intl.DateTimeFormat, Intl.NumberFormat, and
Intl.RelativeTimeFormat objects. The list must include the Numbering System
value of every row of Table 4, except the header row.
includes: [testIntl.js]
locale: [en]
features: [Intl-enumeration, Array.prototype.includes]
--- |
1969 |
numberingSystems-accepted-by-NumberFormat.js |
---
esid: sec-intl.supportedvaluesof
description: >
The returned "numberingSystem" values can be used with NumberFormat.
info: |
Intl.supportedValuesOf ( key )
1. Let key be ? ToString(key).
...
5. Else if key is "numberingSystem", then
a. Let list be ! AvailableNumberingSystems( ).
...
9. Return ! CreateArrayFromList( list ).
AvailableNumberingSystems ( )
The AvailableNumberingSystems abstract operation returns a List, ordered as
if an Array of the same values had been sorted using %Array.prototype.sort%
using undefined as comparefn, that contains unique numbering systems
identifiers identifying the numbering systems for which the implementation
provides the functionality of Intl.DateTimeFormat, Intl.NumberFormat, and
Intl.RelativeTimeFormat objects. The list must include the Numbering System
value of every row of Table 4, except the header row.
includes: [testIntl.js]
locale: [en]
features: [Intl-enumeration, Array.prototype.includes]
--- |
1961 |
numberingSystems-accepted-by-RelativeTimeFormat.js |
---
esid: sec-intl.supportedvaluesof
description: >
The returned "numberingSystem" values can be used with RelativeTimeFormat.
info: |
Intl.supportedValuesOf ( key )
1. Let key be ? ToString(key).
...
5. Else if key is "numberingSystem", then
a. Let list be ! AvailableNumberingSystems( ).
...
9. Return ! CreateArrayFromList( list ).
AvailableNumberingSystems ( )
The AvailableNumberingSystems abstract operation returns a List, ordered as
if an Array of the same values had been sorted using %Array.prototype.sort%
using undefined as comparefn, that contains unique numbering systems
identifiers identifying the numbering systems for which the implementation
provides the functionality of Intl.DateTimeFormat, Intl.NumberFormat, and
Intl.RelativeTimeFormat objects. The list must include the Numbering System
value of every row of Table 4, except the header row.
includes: [testIntl.js]
locale: [en]
features: [Intl-enumeration, Intl.RelativeTimeFormat, Array.prototype.includes]
--- |
2010 |
numberingSystems-with-simple-digit-mappings.js |
---
esid: sec-intl.supportedvaluesof
description: >
The returned "numberingSystem" values contain all numbering systems with simple digit mappings.
info: |
Intl.supportedValuesOf ( key )
1. Let key be ? ToString(key).
...
5. Else if key is "numberingSystem", then
a. Let list be ! AvailableNumberingSystems( ).
...
9. Return ! CreateArrayFromList( list ).
AvailableNumberingSystems ( )
The AvailableNumberingSystems abstract operation returns a List, ordered as
if an Array of the same values had been sorted using %Array.prototype.sort%
using undefined as comparefn, that contains unique numbering systems
identifiers identifying the numbering systems for which the implementation
provides the functionality of Intl.DateTimeFormat, Intl.NumberFormat, and
Intl.RelativeTimeFormat objects. The list must include the Numbering System
value of every row of Table 4, except the header row.
includes: [testIntl.js]
features: [Intl-enumeration, Array.prototype.includes]
--- |
1497 |
numberingSystems.js |
---
esid: sec-intl.supportedvaluesof
description: >
The returned "numberingSystem" values are sorted, unique, and match the type production.
info: |
Intl.supportedValuesOf ( key )
1. Let key be ? ToString(key).
...
5. Else if key is "numberingSystem", then
a. Let list be ! AvailableNumberingSystems( ).
...
9. Return ! CreateArrayFromList( list ).
AvailableNumberingSystems ( )
The AvailableNumberingSystems abstract operation returns a List, ordered as
if an Array of the same values had been sorted using %Array.prototype.sort%
using undefined as comparefn, that contains unique numbering systems
identifiers identifying the numbering systems for which the implementation
provides the functionality of Intl.DateTimeFormat, Intl.NumberFormat, and
Intl.RelativeTimeFormat objects. The list must include the Numbering System
value of every row of Table 4, except the header row.
includes: [compareArray.js]
features: [Intl-enumeration, Intl.Locale]
--- |
2354 |
prop-desc.js |
---
esid: sec-intl.supportedvaluesof
description: >
Intl.supportedValuesOf property attributes.
info: |
Intl.supportedValuesOf ( key )
18 ECMAScript Standard Built-in Objects:
Every other data property described in clauses 19 through 28 and in Annex B.2
has the attributes { [[Writable]]: true, [[Enumerable]]: false,
[[Configurable]]: true } unless otherwise specified.
includes: [propertyHelper.js]
features: [Intl-enumeration]
--- |
720 |
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |
timeZones-accepted-by-DateTimeFormat.js |
---
esid: sec-intl.supportedvaluesof
description: >
The returned "timeZone" values can be used with DateTimeFormat.
info: |
Intl.supportedValuesOf ( key )
1. Let key be ? ToString(key).
...
6. Else if key is "timeZone", then
a. Let list be ! AvailableTimeZones( ).
...
9. Return ! CreateArrayFromList( list ).
AvailableTimeZones ()
The AvailableTimeZones abstract operation returns a sorted List of supported
Zone and Link names in the IANA Time Zone Database. The following steps are
taken:
1. Let names be a List of all supported Zone and Link names in the IANA Time
Zone Database.
2. Let result be a new empty List.
3. For each element name of names, do
a. Assert: ! IsValidTimeZoneName( name ) is true.
b. Let canonical be ! CanonicalizeTimeZoneName( name ).
c. If result does not contain an element equal to canonical, then
i. Append canonical to the end of result.
4. Sort result in order as if an Array of the same values had been sorted using
%Array.prototype.sort% using undefined as comparefn.
5. Return result.
locale: [en]
features: [Intl-enumeration]
--- |
1604 |
timeZones.js |
---
esid: sec-intl.supportedvaluesof
description: >
The returned "timeZone" values are sorted, unique, and canonicalised.
info: |
Intl.supportedValuesOf ( key )
1. Let key be ? ToString(key).
...
6. Else if key is "timeZone", then
a. Let list be ! AvailableTimeZones( ).
...
9. Return ! CreateArrayFromList( list ).
AvailableTimeZones ()
The AvailableTimeZones abstract operation returns a sorted List of supported
Zone and Link names in the IANA Time Zone Database. The following steps are
taken:
1. Let names be a List of all supported Zone and Link names in the IANA Time
Zone Database.
2. Let result be a new empty List.
3. For each element name of names, do
a. Assert: ! IsValidTimeZoneName( name ) is true.
b. Let canonical be ! CanonicalizeTimeZoneName( name ).
c. If result does not contain an element equal to canonical, then
i. Append canonical to the end of result.
4. Sort result in order as if an Array of the same values had been sorted using
%Array.prototype.sort% using undefined as comparefn.
5. Return result.
includes: [compareArray.js, testIntl.js]
features: [Intl-enumeration]
--- |
2187 |
units-accepted-by-NumberFormat.js |
---
esid: sec-intl.supportedvaluesof
description: >
The returned "unit" values can be used with NumberFormat.
info: |
Intl.supportedValuesOf ( key )
1. Let key be ? ToString(key).
...
7. Else if key is "unit", then
a. Let list be ! AvailableUnits( ).
...
9. Return ! CreateArrayFromList( list ).
AvailableUnits ( )
The AvailableUnits abstract operation returns a List, ordered as if an Array
of the same values had been sorted using %Array.prototype.sort% using
undefined as comparefn, that contains the unique values of simple unit
identifiers listed in every row of Table 1, except the header row.
includes: [testIntl.js]
locale: [en]
features: [Intl-enumeration, Array.prototype.includes]
--- |
1527 |
units.js |
---
esid: sec-intl.supportedvaluesof
description: >
The returned "unit" values are sorted, unique, and well-formed.
info: |
Intl.supportedValuesOf ( key )
1. Let key be ? ToString(key).
...
7. Else if key is "unit", then
a. Let list be ! AvailableUnits( ).
...
9. Return ! CreateArrayFromList( list ).
AvailableUnits ( )
The AvailableUnits abstract operation returns a List, ordered as if an Array
of the same values had been sorted using %Array.prototype.sort% using
undefined as comparefn, that contains the unique values of simple unit
identifiers listed in every row of Table 1, except the header row.
includes: [compareArray.js, testIntl.js]
features: [Intl-enumeration, Array.prototype.includes]
--- |
1726 |