From b008170b22dd38f65a114e0b12f666d7eab3b7eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Thu, 27 Nov 2025 09:33:24 +0100 Subject: [PATCH] Fix strict mode error --- .../Temporal/PlainDateTime/prototype/toLocaleString/era.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/intl402/Temporal/PlainDateTime/prototype/toLocaleString/era.js b/test/intl402/Temporal/PlainDateTime/prototype/toLocaleString/era.js index eace04aed8..d020ff7330 100644 --- a/test/intl402/Temporal/PlainDateTime/prototype/toLocaleString/era.js +++ b/test/intl402/Temporal/PlainDateTime/prototype/toLocaleString/era.js @@ -10,6 +10,6 @@ features: [Temporal] locale: [en] ---*/ -date = new Temporal.PlainDateTime(2000, 5, 2, 14, 46, 0, 0, 0, 0, "gregory"); +var date = new Temporal.PlainDateTime(2000, 5, 2, 14, 46, 0, 0, 0, 0, "gregory"); assert(date.toLocaleString("en", { era: "narrow" }).startsWith("5"), "toLocaleString on a PlainDateTime with era option should work");