summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Number/15.7.3-2.js
blob: bad66daf47545b7e69d4cb7b06c622a857aea581 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 15.7.3-2
description: >
    Number constructor - [[Prototype]] is the Function prototype
    object (using getPrototypeOf)
---*/

var p = Object.getPrototypeOf(Number);

assert.sameValue(p, Function.prototype, 'p');

reportCompare(0, 0);