Skip to content

Commit

Permalink
Fix strict mode error
Browse files Browse the repository at this point in the history
  • Loading branch information
anba authored and Ms2ger committed Nov 19, 2024
1 parent bf9f54c commit fd979d8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ features: [Temporal]

// add result
// earlier = Temporal.ZonedDateTime.from("2020-05-31T23:12:38.271986102-04:00[-04:00]");
earlier = new Temporal.ZonedDateTime(1590981158271986102n, "-04:00");
later = earlier.add({ hours: 2 });
var earlier = new Temporal.ZonedDateTime(1590981158271986102n, "-04:00");
var later = earlier.add({ hours: 2 });

TemporalHelpers.assertZonedDateTimesEqual(
later,
Expand Down

0 comments on commit fd979d8

Please sign in to comment.