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: The calendar name is case-insensitive
11 const instance = new Temporal.PlainMonthDay(11, 18);
13 const calendar = "IsO8601";
15 const arg = { monthCode: "M11", day: 18, calendar };
16 const result = instance.equals(arg);
17 assert.sameValue(result, true, "Calendar is case-insensitive");