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.) |
||
---|---|---|
.. | ||
Calendar | ||
Duration | ||
Instant | ||
Now | ||
PlainDate | ||
PlainDateTime | ||
PlainMonthDay | ||
PlainTime | ||
PlainYearMonth | ||
TimeZone | ||
ZonedDateTime | ||
toStringTag | ||
getOwnPropertyNames.js | ||
keys.js | ||
prop-desc.js |