2021-06-29 17:45:42 +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.instant
|
2021-07-20 21:06:31 +02:00
|
|
|
description: Temporal.Now.instant.name is "instant".
|
2021-06-29 17:45:42 +02:00
|
|
|
includes: [propertyHelper.js]
|
|
|
|
features: [Temporal]
|
|
|
|
---*/
|
|
|
|
|
2021-08-10 19:40:04 +02:00
|
|
|
assert.sameValue(
|
|
|
|
Temporal.Now.instant.name,
|
|
|
|
'instant',
|
|
|
|
'The value of Temporal.Now.instant.name is expected to be "instant"'
|
|
|
|
);
|
2021-06-29 17:45:42 +02:00
|
|
|
|
2021-07-20 21:06:31 +02:00
|
|
|
verifyProperty(Temporal.Now.instant, 'name', {
|
2021-06-29 17:45:42 +02:00
|
|
|
enumerable: false,
|
|
|
|
writable: false,
|
|
|
|
configurable: true
|
|
|
|
});
|