summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Number/prototype/15.7.3.1-2.js
blob: d153512e786d25cd27f380f06ab11e0d3c020d19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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.1-2
description: Number.prototype, initial value is the Number prototype object
---*/

// assume that Number.prototype has not been modified.

assert.sameValue(Object.getPrototypeOf(new Number(42)), Number.prototype, 'Object.getPrototypeOf(new Number(42))');

reportCompare(0, 0);