summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Reflect/preventExtensions/preventExtensions.js
blob: 5a63258c7b3d609c4d6cd1eefe75b1e7f4bd8166 (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.12
description: >
  Reflect.preventExtensions is configurable, writable and not enumerable.
info: |
  26.1.12 Reflect.preventExtensions ( target )

  17 ECMAScript Standard Built-in Objects

includes: [propertyHelper.js]
features: [Reflect]
---*/

verifyNotEnumerable(Reflect, 'preventExtensions');
verifyWritable(Reflect, 'preventExtensions');
verifyConfigurable(Reflect, 'preventExtensions');

reportCompare(0, 0);