mirror of https://github.com/tc39/test262.git
Fix strict mode error
This commit is contained in:
parent
bf9f54cb9d
commit
fd979d85d4
|
@ -10,8 +10,8 @@ features: [Temporal]
|
||||||
|
|
||||||
// add result
|
// add result
|
||||||
// earlier = Temporal.ZonedDateTime.from("2020-05-31T23:12:38.271986102-04:00[-04:00]");
|
// earlier = Temporal.ZonedDateTime.from("2020-05-31T23:12:38.271986102-04:00[-04:00]");
|
||||||
earlier = new Temporal.ZonedDateTime(1590981158271986102n, "-04:00");
|
var earlier = new Temporal.ZonedDateTime(1590981158271986102n, "-04:00");
|
||||||
later = earlier.add({ hours: 2 });
|
var later = earlier.add({ hours: 2 });
|
||||||
|
|
||||||
TemporalHelpers.assertZonedDateTimesEqual(
|
TemporalHelpers.assertZonedDateTimesEqual(
|
||||||
later,
|
later,
|
||||||
|
|
Loading…
Reference in New Issue