summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/import/import-assertions/json-extensibility-array.js
blob: bcd7f27f0fec91c19e58377bde26ed9804c666ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// |reftest| skip module -- json-modules is not supported
// 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-parse-json-module
description: Creates extensible arrays
flags: [module]
includes: [propertyHelper.js]
features: [import-assertions, json-modules]
---*/

import value from './json-value-array_FIXTURE.json' assert { type: 'json' };

value.test262property = 'test262 value';

verifyProperty(value, 'test262property', {
  value: 'test262 value',
  writable: true,
  enumerable: true,
  configurable: true
});

reportCompare(0, 0);