summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Object/entries/function-name.js
blob: ddc50048d8d96e1770c72f6995cea05fccd3187e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (C) 2015 Jordan Harband. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-object.entries
description: Object.entries should have name property with value 'entries'
author: Jordan Harband
includes: [propertyHelper.js]
---*/

assert.sameValue(
  Object.entries.name,
  'entries',
  'Expected Object.entries.name to be "entries"'
);

verifyNotEnumerable(Object.entries, 'name');
verifyNotWritable(Object.entries, 'name');
verifyConfigurable(Object.entries, 'name');

reportCompare(0, 0);