summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Reflect/getOwnPropertyDescriptor/length.js
blob: 47bc4d2b9b8865037f2bd63cdeaf5b6966d7901e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 26.1.7
description: >
  Reflect.getOwnPropertyDescriptor.length value and property descriptor
includes: [propertyHelper.js]
features: [Reflect]
---*/

assert.sameValue(
  Reflect.getOwnPropertyDescriptor.length, 2,
  'The value of `Reflect.getOwnPropertyDescriptor.length` is `2`'
);

verifyNotEnumerable(Reflect.getOwnPropertyDescriptor, 'length');
verifyNotWritable(Reflect.getOwnPropertyDescriptor, 'length');
verifyConfigurable(Reflect.getOwnPropertyDescriptor, 'length');

reportCompare(0, 0);