Debian Codegraph @

js/src/tests/test262/built-ins/Object/getOwnPropertyDescriptors/function-length.js

raw
1 // Copyright (C) 2016 Jordan Harband. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 description: Object.getOwnPropertyDescriptors should have length 1
6 esid: sec-object.getownpropertydescriptors
7 author: Jordan Harband
8 includes: [propertyHelper.js]
9 ---*/
10
11 verifyProperty(Object.getOwnPropertyDescriptors, "length", {
12 value: 1,
13 writable: false,
14 enumerable: false,
15 configurable: true,
16 });
17
18 reportCompare(0, 0);