1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
6 The Number prototype object is itself a Number object
7 (its [[Class]] is "Number") whose value is +0
9 description: Checking type and value of Number.prototype property
12 typeof Number.prototype,
14 'The value of `typeof Number.prototype` is expected to be "object"'
17 assert(Number.prototype == 0, 'The value of Number.prototype is expected to be 0');
19 delete Number.prototype.toString;
22 Number.prototype.toString(),
24 'Number.prototype.toString() must return "[object Number]"'