basic.js |
---
es5id: 11.3.3
description: >
Tests that the object returned by
Intl.NumberFormat.prototype.resolvedOptions has the right
properties.
author: Norbert Lindenberg
includes: [testIntl.js, propertyHelper.js]
features: [Intl.NumberFormat-v3]
--- |
1939 |
browser.js |
|
0 |
builtin.js |
---
es5id: 11.3.3_L15
description: >
Tests that Intl.NumberFormat.prototype.resolvedOptions meets the
requirements for built-in objects defined by the introduction of
chapter 17 of the ECMAScript Language Specification.
author: Norbert Lindenberg
includes: [isConstructor.js]
features: [Reflect.construct]
--- |
1324 |
compactDisplay.js |
---
esid: sec-intl.numberformat.prototype.resolvedoptions
description: Verifies the existence of the compactDisplay property for the object returned by resolvedOptions().
features: [Intl.NumberFormat-unified]
--- |
1174 |
length.js |
---
esid: sec-intl.numberformat.prototype.resolvedoptions
description: >
Intl.NumberFormat.prototype.resolvedOptions.length is 0.
info: |
Intl.NumberFormat.prototype.resolvedOptions ()
17 ECMAScript Standard Built-in Objects:
Every built-in function object, including constructors, has a length
property whose value is an integer. Unless otherwise specified, this
value is equal to the largest number of named arguments shown in the
subclause headings for the function description. Optional parameters
(which are indicated with brackets: [ ]) or rest parameters (which
are shown using the form «...name») are not included in the default
argument 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]
--- |
1215 |
name.js |
---
esid: sec-Intl.NumberFormat.prototype.resolvedOptions
description: >
Intl.NumberFormat.prototype.resolvedOptions.name is "resolvedOptions".
info: |
11.4.4 Intl.NumberFormat.prototype.resolvedOptions ()
17 ECMAScript Standard Built-in Objects:
Every built-in Function object, including constructors, that is not
identified as an anonymous function has a name property whose value
is a String.
Unless otherwise specified, the name property of a built-in Function
object, if it exists, has the attributes { [[Writable]]: false,
[[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
--- |
966 |
no-instanceof.js |
---
esid: sec-intl.numberformat.prototype.resolvedoptions
description: >
Tests that Intl.NumberFormat.prototype.resolvedOptions calls
OrdinaryHasInstance instead of the instanceof operator which includes a
Symbol.hasInstance lookup and call among other things.
info: >
UnwrapNumberFormat ( nf )
2. If nf does not have an [[InitializedNumberFormat]] internal slot and
? OrdinaryHasInstance(%NumberFormat%, nf) is true, then
a. Return ? Get(nf, %Intl%.[[FallbackSymbol]]).
--- |
874 |
order.js |
---
esid: sec-intl.numberformat.prototype.resolvedoptions
description: Verifies the property order for the object returned by resolvedOptions().
features: [Intl.NumberFormat-unified]
--- |
1269 |
prop-desc.js |
---
esid: sec-intl.numberformat.prototype.resolvedoptions
description: >
"resolvedOptions" property of Intl.NumberFormat.prototype.
info: |
Intl.NumberFormat.prototype.resolvedOptions ()
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]
--- |
1148 |
return-keys-order-default.js |
---
esid: sec-intl.numberformat.prototype.resolvedoptions
description: order of property keys for the object returned by resolvedOptions()
features: [Intl.NumberFormat-v3]
includes: [compareArray.js]
--- |
1491 |
roundingMode.js |
---
esid: sec-intl.numberformat.prototype.resolvedoptions
description: roundingMode property for the object returned by resolvedOptions()
features: [Intl.NumberFormat-v3]
--- |
1732 |
shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |
this-value-not-numberformat.js |
---
esid: sec-Intl.NumberFormat.prototype.resolvedOptions
description: >
Tests that Intl.NumberFormat.prototype.resolvedOptions throws a
TypeError if called on a non-object value or an object that hasn't
been initialized as a NumberFormat.
--- |
729 |