json-extensibility-array.js 560 B

1234567891011121314151617181920
  1. // Copyright (C) 2021 the V8 project authors. All rights reserved.
  2. // This code is governed by the BSD license found in the LICENSE file.
  3. /*---
  4. esid: sec-parse-json-module
  5. description: Creates extensible arrays
  6. flags: [module]
  7. includes: [propertyHelper.js]
  8. features: [import-assertions, json-modules]
  9. ---*/
  10. import value from './json-value-array_FIXTURE.json' assert { type: 'json' };
  11. value.test262property = 'test262 value';
  12. verifyProperty(value, 'test262property', {
  13. value: 'test262 value',
  14. writable: true,
  15. enumerable: true,
  16. configurable: true
  17. });