length.js (1039B)
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.cbrt 6 es6id: 20.2.2.9 7 info: | 8 Math.cbrt ( x ) 9 10 17 ECMAScript Standard Built-in Objects: 11 Every built-in Function object, including constructors, has a length 12 property whose value is an integer. Unless otherwise specified, this 13 value is equal to the largest number of named arguments shown in the 14 subclause headings for the function description, including optional 15 parameters. However, rest parameters shown using the form “...name” 16 are not included in the default argument count. 17 18 Unless otherwise specified, the length property of a built-in Function 19 object has the attributes { [[Writable]]: false, [[Enumerable]]: false, 20 [[Configurable]]: true }. 21 includes: [propertyHelper.js] 22 ---*/ 23 24 verifyProperty(Math.cbrt, "length", { 25 value: 1, 26 writable: false, 27 enumerable: false, 28 configurable: true 29 }); 30 31 reportCompare(0, 0);