1 // |reftest| skip-if(!this.hasOwnProperty("Temporal"))
3 const ArrayIteratorPrototype = Object.getPrototypeOf([][Symbol.iterator]());
5 // Modify the ArrayIteratorPrototype prototype chain to disable optimisations.
6 Object.setPrototypeOf(ArrayIteratorPrototype, {});
8 let calendar = new Temporal.Calendar("iso8601");
17 let result = Temporal.PlainDate.from(dateLike);
19 assertEq(result.toString(), "0000-01-01");
21 if (typeof reportCompare === "function")
22 reportCompare(true, true);