summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Number/prototype/S15.7.4_A2.js
blob: f0636b0f949a0e80f9a3951bb6c1784323f45ea2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: |
    The value of the internal [[Prototype]] property of the Number
    prototype object is the Object prototype object
es5id: 15.7.4_A2
description: Checking Object.prototype.isPrototypeOf(Number.prototype)
---*/
assert(
  Object.prototype.isPrototypeOf(Number.prototype),
  'Object.prototype.isPrototypeOf(Number.prototype) must return true'
);

reportCompare(0, 0);