2021-05-29 00:58:03 +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-parse-json-module
|
|
|
|
description: Creates extensible arrays
|
|
|
|
flags: [module]
|
|
|
|
includes: [propertyHelper.js]
|
2021-06-24 20:13:45 +02:00
|
|
|
features: [import-assertions, json-modules]
|
2021-05-29 00:58:03 +02:00
|
|
|
---*/
|
|
|
|
|
|
|
|
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
|
|
|
|
});
|