1 // Copyright (C) 2015 André Bargull. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
7 The initial value of ReferenceError.prototype.name is "ReferenceError".
9 The initial value of the name property of the prototype for a given NativeError
10 constructor is a string consisting of the name of the constructor (the name used
11 instead of NativeError).
13 17 ECMAScript Standard Built-in Objects:
14 Every other data property described in clauses 18 through 26 and in Annex B.2 has
15 the attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true }
16 unless otherwise specified.
17 includes: [propertyHelper.js]
20 assert.sameValue(ReferenceError.prototype.name, "ReferenceError");
22 verifyNotEnumerable(ReferenceError.prototype, "name");
23 verifyWritable(ReferenceError.prototype, "name");
24 verifyConfigurable(ReferenceError.prototype, "name");