Name Description Size Coverage
balance-subseconds.js --- esid: sec-temporal.duration.prototype.tojson description: Balancing from subsecond units to seconds happens correctly features: [Temporal] --- 665 -
basic.js --- esid: sec-temporal.duration.prototype.tojson description: Temporal.Duration.prototype.toJSON will return correct iso8601 string for the given duration. info: | 1. Let duration be the this value. 2. Perform ? RequireInternalSlot(duration, [[InitializedTemporalDuration]]). 3. Return ! TemporalDurationToString(duration.[[Years]], duration.[[Months]], duration.[[Weeks]], duration.[[Days]], duration.[[Hours]], duration.[[Minutes]], duration.[[Seconds]], duration.[[Milliseconds]], duration.[[Microseconds]], duration.[[Nanoseconds]], "auto"). features: [Temporal] --- 14245 -
branding.js --- esid: sec-temporal.duration.prototype.tojson description: Throw a TypeError if the receiver is invalid features: [Symbol, Temporal] --- 1116 -
browser.js 0 -
builtin.js --- esid: sec-temporal.duration.prototype.tojson description: > Tests that Temporal.Duration.prototype.toJSON meets the requirements for built-in objects defined by the introduction of chapter 17 of the ECMAScript Language Specification. info: | Built-in functions that are not constructors do not have a "prototype" property unless otherwise specified in the description of a particular function. 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 [...] as the value of its [[Prototype]] internal slot. features: [Temporal] --- 1641 -
large-with-small-units.js --- esid: sec-temporal.duration.prototype.tojson description: Pairs of units with one large and one small features: [Temporal] --- 993 -
length.js --- esid: sec-temporal.duration.prototype.tojson description: Temporal.Duration.prototype.toJSON.length is 0 info: | 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] features: [Temporal] --- 1197 -
max-value.js --- esid: sec-temporal.duration.prototype.tojson description: Various maximum value combinations do not go out of range features: [Temporal] --- 6170 -
name.js --- esid: sec-temporal.duration.prototype.tojson description: Temporal.Duration.prototype.toJSON.name is "toJSON". info: | 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, this value is the name that is given to the function in this specification. 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] features: [Temporal] --- 1037 -
negative-components.js --- esid: sec-temporal.duration.prototype.tojson description: Temporal.Duration.toJSON handles negative components features: [Temporal] --- 588 -
not-a-constructor.js --- esid: sec-temporal.duration.prototype.tojson description: > Temporal.Duration.prototype.toJSON does not implement [[Construct]], is not new-able info: | 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: [Reflect.construct, Temporal] --- 925 -
options.js --- esid: sec-temporal.duration.prototype.tojson description: Temporal.Duration.prototype.toJSON does not support options, unlike toString. features: [Temporal] --- 612 -
prop-desc.js --- esid: sec-temporal.duration.prototype.tojson description: The "toJSON" property of Temporal.Duration.prototype includes: [propertyHelper.js] features: [Temporal] --- 678 -
shell.js --- description: | Test if a given function is a constructor function. defines: [isConstructor] features: [Reflect.construct] --- 596 -