2021-07-16 15:25:55 +02:00
|
|
|
// Copyright (C) 2021 the V8 project authors. All rights reserved.
|
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
|
|
esid: sec-temporal.now.plainDateTime
|
2021-07-20 21:06:31 +02:00
|
|
|
description: Temporal.Now.plainDateTime.name is "plainDateTime".
|
2021-07-16 15:25:55 +02:00
|
|
|
includes: [propertyHelper.js]
|
|
|
|
features: [Temporal]
|
|
|
|
---*/
|
|
|
|
|
2021-08-10 19:40:04 +02:00
|
|
|
assert.sameValue(
|
|
|
|
Temporal.Now.plainDateTime.name,
|
|
|
|
'plainDateTime',
|
|
|
|
'The value of Temporal.Now.plainDateTime.name is expected to be "plainDateTime"'
|
|
|
|
);
|
2021-07-16 15:25:55 +02:00
|
|
|
|
2021-07-20 21:06:31 +02:00
|
|
|
verifyProperty(Temporal.Now.plainDateTime, 'name', {
|
2021-07-16 15:25:55 +02:00
|
|
|
enumerable: false,
|
|
|
|
writable: false,
|
|
|
|
configurable: true
|
|
|
|
});
|