Source code

Revision control

Copy as Markdown

Other Tools

// |reftest| skip-if(!this.hasOwnProperty("Temporal")||!this.hasOwnProperty("Intl"))
assertEq(
new Temporal.Duration(0).total({ unit: 'years', relativeTo: '-271821-04-19' }),
0,
"Support fast path for invalid isodate");
if (typeof reportCompare === "function")
reportCompare(true, true);