browser.js |
|
0 |
builtin.js |
---
esid: sec-Intl.PluralRules
description: >
Tests that Intl.PluralRules meets the requirements for
built-in objects defined by the introduction of chapter 17 of the
ECMAScript Language Specification.
author: Zibi Braniecki
--- |
772 |
can-be-subclassed.js |
---
esid: sec-intl-pluralrules-constructor
description: Tests that Intl.PluralRules can be subclassed.
author: Zibi Braniecki
includes: [compareArray.js]
--- |
948 |
constructor-option-read-order.js |
---
esid: sec-initializepluralrules
description: Checks the order of option read.
features: [Intl.NumberFormat-v3]
includes: [compareArray.js]
--- |
1234 |
constructor-options-throwing-getters.js |
---
esid: sec-initializepluralrules
description: Checks the propagation of exceptions from the options for the NumberFormat constructor.
--- |
748 |
default-options-object-prototype.js |
---
esid: sec-initializepluralrules
description: >
Monkey-patching Object.prototype does not change the default
options for PluralRules as a null prototype is used.
info: |
InitializePluralRules ( collator, locales, options )
1. If _options_ is *undefined*, then
1. Let _options_ be ObjectCreate(*null*).
--- |
629 |
internals.js |
---
esid: sec-intl-pluralrules-constructor
description: >
Tests that objects constructed by Intl.PluralRules have the specified
internal properties.
author: Zibi Braniecki
--- |
696 |
length.js |
---
esid: sec-Intl.PluralRules
description: Intl.PluralRules.length.
author: Zibi Braniecki
includes: [propertyHelper.js]
--- |
403 |
name.js |
---
esid: sec-Intl.PluralRules
description: Intl.PluralRules.name is "PluralRules"
author: Zibi Braniecki
includes: [propertyHelper.js]
--- |
427 |
prop-desc.js |
---
esid: sec-Intl.PluralRules
description: >
"PluralRules" property of Intl.
info: |
Intl.PluralRules (...)
7 Requirements for Standard Built-in ECMAScript Objects
Unless specified otherwise in this document, the objects, functions, and constructors
described in this standard are subject to the generic requirements and restrictions
specified for standard built-in ECMAScript objects in the ECMAScript 2018 Language
Specification, 9th edition, clause 17, or successor.
17 ECMAScript Standard Built-in Objects:
Every other data property described in clauses 18 through 26 and in Annex B.2 has the
attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true }
unless otherwise specified.
includes: [propertyHelper.js]
--- |
1042 |
proto-from-ctor-realm.js |
---
esid: sec-intl.pluralrules
description: Default [[Prototype]] value derived from realm of the NewTarget.
info: |
Intl.PluralRules ( [ locales [ , options ] ] )
1. If NewTarget is undefined, throw a TypeError exception.
2. Let pluralRules be ? OrdinaryCreateFromConstructor(newTarget, "%PluralRulesPrototype%", « ... »).
3. Return ? InitializePluralRules(pluralRules, locales, options).
OrdinaryCreateFromConstructor ( constructor, intrinsicDefaultProto [ , internalSlotsList ] )
...
2. Let proto be ? GetPrototypeFromConstructor(constructor, intrinsicDefaultProto).
3. Return ObjectCreate(proto, internalSlotsList).
GetPrototypeFromConstructor ( constructor, intrinsicDefaultProto )
...
3. Let proto be ? Get(constructor, 'prototype').
4. If Type(proto) is not Object, then
a. Let realm be ? GetFunctionRealm(constructor).
b. Set proto to realm's intrinsic object named intrinsicDefaultProto.
5. Return proto.
features: [cross-realm, Reflect, Symbol]
--- |
2446 |
prototype |
|
|
shell.js |
|
0 |
supportedLocalesOf |
|
|
undefined-newtarget-throws.js |
---
esid: sec-Intl.PluralRules
description: Tests that PluralRules throws when called as a function
author: Zibi Braniecki
includes: [testIntl.js]
--- |
847 |