Source code

Revision control

Copy as Markdown

Other Tools

// |reftest| shell-option(--enable-import-attributes) skip-if(!xulRuntime.shell) module -- requires shell-options
// 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 objects
flags: [module]
includes: [propertyHelper.js]
features: [import-attributes, json-modules]
---*/
import value from './json-value-object_FIXTURE.json' with { type: 'json' };
value.test262property = 'test262 value';
verifyProperty(value, 'test262property', {
value: 'test262 value',
writable: true,
enumerable: true,
configurable: true
});
reportCompare(0, 0);