blob: 6d487eeafb4fe3f003da80ef565c799c5edc85a5 [file] [log] [blame]
// 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.name value and property descriptor
info: |
26.1.7 Reflect.getOwnPropertyDescriptor ( target, propertyKey )
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
features: [Reflect]
---*/
assert.sameValue(
Reflect.getOwnPropertyDescriptor.name, 'getOwnPropertyDescriptor',
'The value of `Reflect.getOwnPropertyDescriptor.name` is `"getOwnPropertyDescriptor"`'
);
verifyNotEnumerable(Reflect.getOwnPropertyDescriptor, 'name');
verifyNotWritable(Reflect.getOwnPropertyDescriptor, 'name');
verifyConfigurable(Reflect.getOwnPropertyDescriptor, 'name');