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 TypeError.prototype.name is "TypeError".
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(TypeError.prototype.name, "TypeError");
22 verifyNotEnumerable(TypeError.prototype, "name");
23 verifyWritable(TypeError.prototype, "name");
24 verifyConfigurable(TypeError.prototype, "name");