Fix strict mode error

This commit is contained in:
André Bargull 2024-11-19 16:50:12 +01:00 committed by Ms2ger
parent bf9f54cb9d
commit fd979d85d4
1 changed files with 2 additions and 2 deletions

View File

@ -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,