1 // |reftest| skip-if(!this.hasOwnProperty('Temporal')) -- Temporal is not enabled unconditionally
2 // Copyright (C) 2022 Igalia, S.L. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
6 esid: sec-temporal.plainmonthday.prototype.equals
7 description: Leap second is a valid ISO string for a calendar in a property bag
11 const instance = new Temporal.PlainMonthDay(11, 18);
13 const calendar = "2016-12-31T23:59:60";
15 const arg = { monthCode: "M11", day: 18, calendar };
16 const result = instance.equals(arg);
20 "leap second is a valid ISO string for calendar"