Debian Codegraph @

js/src/tests/test262/built-ins/Math/pow/prop-desc.js

raw
1 // Copyright (C) 2016 Rick Waldron. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: sec-math.pow
6 description: >
7 Math.pow ( base, exponent )
8 info: |
9 17 ECMAScript Standard Built-in Objects:
10 Every other data property described in clauses 18 through 26 and in Annex B.2 has the attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.
11 includes: [propertyHelper.js]
12 ---*/
13
14 verifyProperty(Math, "pow", {
15 writable: true,
16 enumerable: false,
17 configurable: true
18 });
19
20 reportCompare(0, 0);