Debian Codegraph @

js/src/tests/test262/built-ins/Math/cosh/length.js

raw
1 // Copyright 2015 Microsoft Corporation. All rights reserved.
2 // This code is governed by the license found in the LICENSE file.
3
4 /*---
5 es6id: 20.2.2.13
6 description: Length property of Math.cosh is 1
7 info: |
8 Math.cosh ( x )
9
10 17 ECMAScript Standard Built-in Objects:
11 Every built-in Function object, including constructors, that is not
12 identified as an anonymous function has a name property whose value
13 is a String.
14
15 Unless otherwise specified, the name property of a built-in Function
16 object, if it exists, has the attributes { [[Writable]]: false,
17 [[Enumerable]]: false, [[Configurable]]: true }.
18 includes: [propertyHelper.js]
19 ---*/
20
21 verifyProperty(Math.cosh, "length", {
22 value: 1,
23 writable: false,
24 enumerable: false,
25 configurable: true
26 });
27
28 reportCompare(0, 0);