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

16 lines
477 B
JavaScript
Raw Normal View History

2018-08-11 06:49:01 +02:00
// 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]
---*/
assert.sameValue(Object.fromEntries.length, 1);
verifyNotEnumerable(Object.fromEntries, "length");
verifyNotWritable(Object.fromEntries, "length");
verifyConfigurable(Object.fromEntries, "length");