Debian Codegraph @

js/src/tests/test262/language/import/import-attributes/json-extensibility-array.js

raw
1 // |reftest| shell-option(--enable-import-attributes) skip-if(!xulRuntime.shell) module -- 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-parse-json-module
6 description: Creates extensible arrays
7 flags: [module]
8 includes: [propertyHelper.js]
9 features: [import-attributes, json-modules]
10 ---*/
11
12 import value from './json-value-array_FIXTURE.json' with { type: 'json' };
13
14 value.test262property = 'test262 value';
15
16 verifyProperty(value, 'test262property', {
17 value: 'test262 value',
18 writable: true,
19 enumerable: true,
20 configurable: true
21 });
22
23 reportCompare(0, 0);