tests/auto/qml/ecmascripttests/test262/test/built-ins/Number/15.7.3-2.js
raw| 1 | // Copyright (c) 2012 Ecma International. All rights reserved. |
| 2 | // This code is governed by the BSD license found in the LICENSE file. |
| 3 | |
| 4 | /*--- |
| 5 | es5id: 15.7.3-2 |
| 6 | description: > |
| 7 | Number constructor - [[Prototype]] is the Function prototype |
| 8 | object (using getPrototypeOf) |
| 9 | ---*/ |
| 10 | |
| 11 | var p = Object.getPrototypeOf(Number); |
| 12 | |
| 13 | assert.sameValue(p, Function.prototype, 'p'); |