Debian Codegraph @

js/src/tests/test262/built-ins/Temporal/Now/instant/extensible.js

raw
1 // |reftest| shell-option(--enable-temporal) skip-if(!this.hasOwnProperty('Temporal')||!xulRuntime.shell) -- Temporal is not enabled unconditionally, requires shell-options
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.instant
6 description: Temporal.Now.instant is extensible.
7 features: [Temporal]
8 ---*/
9
10 assert(
11 Object.isExtensible(Temporal.Now.instant),
12 'Object.isExtensible(Temporal.Now.instant) must return true'
13 );
14
15 reportCompare(0, 0);