Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Math/sinh/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 description: length property of Math.sinh
6 es6id: 20.2.2.31
7 info: |
8 Math.sinh ( 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 assert.sameValue(Math.sinh.length, 1);
22
23 verifyNotEnumerable(Math.sinh, "length");
24 verifyNotWritable(Math.sinh, "length");
25 verifyConfigurable(Math.sinh, "length");