Fix strict mode error

This commit is contained in:
André Bargull 2025-11-27 09:33:24 +01:00 committed by Ms2ger
parent e23d841cfe
commit b008170b22

View File

@ -10,6 +10,6 @@ features: [Temporal]
locale: [en] 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"); assert(date.toLocaleString("en", { era: "narrow" }).startsWith("5"), "toLocaleString on a PlainDateTime with era option should work");