test262/test/built-ins/Reflect/defineProperty/length.js

19 lines
568 B
JavaScript

// 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.3
description: >
Reflect.defineProperty.length value and property descriptor
includes: [propertyHelper.js]
features: [Reflect]
---*/
assert.sameValue(
Reflect.defineProperty.length, 3,
'The value of `Reflect.defineProperty.length` is `3`'
);
verifyNotEnumerable(Reflect.defineProperty, 'length');
verifyNotWritable(Reflect.defineProperty, 'length');
verifyConfigurable(Reflect.defineProperty, 'length');