json-extensibility-object.js (602B)
1 // |reftest| module 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 objects 7 flags: [module] 8 includes: [propertyHelper.js] 9 features: [import-attributes, json-modules] 10 ---*/ 11 12 import value from './json-value-object_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);