From fd979d85d4e4b74ef1ed097d25c71263417d5aad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Tue, 19 Nov 2024 16:50:12 +0100 Subject: [PATCH] Fix strict mode error --- .../Temporal/ZonedDateTime/prototype/add/overflow.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/built-ins/Temporal/ZonedDateTime/prototype/add/overflow.js b/test/built-ins/Temporal/ZonedDateTime/prototype/add/overflow.js index ee0e5382a2..363b122254 100644 --- a/test/built-ins/Temporal/ZonedDateTime/prototype/add/overflow.js +++ b/test/built-ins/Temporal/ZonedDateTime/prototype/add/overflow.js @@ -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,