mirror of https://github.com/tc39/test262.git
An object may be given in any context where a Temporal.Instant is expected (see ToTemporalInstant). There is no conversion from a property bag to an Instant, unlike with other Temporal types. Instead the object is converted to a string, and if its toString() method yields a valid ISO string, the conversion succeeds. (An object with the default Object.prototype.toString will not.) |
||
---|---|---|
.. | ||
annexB | ||
built-ins | ||
harness | ||
intl402 | ||
language |