| basic.js |
---
esid: sec-temporal.duration.prototype.negated
description: Temporal.Duration.prototype.negated will return negated value of the input duration.
info: |
3. Return ? CreateTemporalDuration(abs(duration.[[Years]]), abs(duration.[[Months]]), abs(duration.[[Weeks]]), abs(duration.[[Days]]), abs(duration.[[Hours]]), abs(duration.[[Minutes]]), abs(duration.[[Seconds]]), abs(duration.[[Milliseconds]]), abs(duration.[[Microseconds]]), abs(duration.[[Nanoseconds]])).
features: [Temporal]
includes: [temporalHelpers.js]
--- |
2259 |
- |
| branding.js |
---
esid: sec-temporal.duration.prototype.negated
description: Throw a TypeError if the receiver is invalid
features: [Symbol, Temporal]
--- |
1129 |
- |
| browser.js |
|
0 |
- |
| builtin.js |
---
esid: sec-temporal.duration.prototype.negated
description: >
Tests that Temporal.Duration.prototype.negated
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]
--- |
1647 |
- |
| length.js |
---
esid: sec-temporal.duration.prototype.negated
description: Temporal.Duration.prototype.negated.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]
--- |
1200 |
- |
| name.js |
---
esid: sec-temporal.duration.prototype.negated
description: Temporal.Duration.prototype.negated.name is "negated".
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]
--- |
1042 |
- |
| not-a-constructor.js |
---
esid: sec-temporal.duration.prototype.negated
description: >
Temporal.Duration.prototype.negated 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]
--- |
930 |
- |
| prop-desc.js |
---
esid: sec-temporal.duration.prototype.negated
description: The "negated" property of Temporal.Duration.prototype
includes: [propertyHelper.js]
features: [Temporal]
--- |
683 |
- |
| shell.js |
---
description: |
Test if a given function is a constructor function.
defines: [isConstructor]
features: [Reflect.construct]
--- |
596 |
- |
| subclassing-ignored.js |
---
esid: sec-temporal.duration.prototype.negated
description: Objects of a subclass are never created as return values.
includes: [temporalHelpers.js]
features: [Temporal]
--- |
651 |
- |