mirror of https://github.com/tc39/test262.git
16 lines
477 B
JavaScript
16 lines
477 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]
|
||
|
---*/
|
||
|
|
||
|
assert.sameValue(Object.fromEntries.length, 1);
|
||
|
|
||
|
verifyNotEnumerable(Object.fromEntries, "length");
|
||
|
verifyNotWritable(Object.fromEntries, "length");
|
||
|
verifyConfigurable(Object.fromEntries, "length");
|