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