Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Object/entries/function-name.js

raw
1 // Copyright (C) 2015 Jordan Harband. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: sec-object.entries
6 description: Object.entries should have name property with value 'entries'
7 author: Jordan Harband
8 includes: [propertyHelper.js]
9 ---*/
10
11 assert.sameValue(
12 Object.entries.name,
13 'entries',
14 'Expected Object.entries.name to be "entries"'
15 );
16
17 verifyNotEnumerable(Object.entries, 'name');
18 verifyNotWritable(Object.entries, 'name');
19 verifyConfigurable(Object.entries, 'name');