name.js (725B)
1 // |reftest| skip-if(!this.hasOwnProperty('Temporal')) -- Temporal is not enabled unconditionally 2 // Copyright (C) 2021 the V8 project authors. All rights reserved. 3 // This code is governed by the BSD license found in the LICENSE file. 4 /*--- 5 esid: sec-temporal.now.plainDateTimeISO 6 description: Temporal.Now.plainDateTimeISO.name is "plainDateTimeISO". 7 includes: [propertyHelper.js] 8 features: [Temporal] 9 ---*/ 10 11 assert.sameValue( 12 Temporal.Now.plainDateTimeISO.name, 13 'plainDateTimeISO', 14 'The value of Temporal.Now.plainDateTimeISO.name is expected to be "plainDateTimeISO"' 15 ); 16 17 verifyProperty(Temporal.Now.plainDateTimeISO, 'name', { 18 enumerable: false, 19 writable: false, 20 configurable: true 21 }); 22 23 reportCompare(0, 0);