Bug 1914261 - Rename --noinstall to --no-install for raptor. r=perftest-reviewers...
[gecko.git] / js / src / tests / test262 / built-ins / Temporal / PlainMonthDay / prototype / toPlainDate / name.js
blob4c46baa3e43239e5c9eae4789bc2d5c4f9e7dc23
1 // |reftest| skip-if(!this.hasOwnProperty('Temporal')) -- Temporal is not enabled unconditionally
2 // Copyright (C) 2021 Igalia, S.L. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
5 /*---
6 esid: sec-temporal.plainmonthday.prototype.toplaindate
7 description: Temporal.PlainMonthDay.prototype.toPlainDate.name is "toPlainDate".
8 info: |
9     Every built-in function object, including constructors, that is not identified as an anonymous
10     function has a "name" property whose value is a String. Unless otherwise specified, this value
11     is the name that is given to the function in this specification.
13     Unless otherwise specified, the "name" property of a built-in function object, if it exists,
14     has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.
15 includes: [propertyHelper.js]
16 features: [Temporal]
17 ---*/
19 verifyProperty(Temporal.PlainMonthDay.prototype.toPlainDate, "name", {
20   value: "toPlainDate",
21   writable: false,
22   enumerable: false,
23   configurable: true,
24 });
26 reportCompare(0, 0);