blob: 31f0f388d7ad9d7318f3b6a94d11036e35b2aec1 [file] [log] [blame]
// Copyright (C) 2018 Kevin Gibbons. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: Creates data properties which are enumerable, writable, and configurable.
esid: sec-object.fromentries
includes: [propertyHelper.js]
features: [Object.fromEntries]
---*/
var result = Object.fromEntries([['key', 'value']]);
verifyProperty(result, "key", {
enumerable: true,
writable: true,
configurable: true,
});