test262/test/built-ins/Object/fromEntries/length.js

17 lines
402 B
JavaScript

// Copyright (C) 2018 Kevin Gibbons. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: Object.fromEntries.length is 1.
esid: sec-object.fromentries
includes: [propertyHelper.js]
features: [Object.fromEntries]
---*/
verifyProperty(Object.fromEntries, "length", {
value: 1,
enumerable: false,
writable: false,
configurable: true
});