Backed out 2 changesets (bug 1906804, bug 1882553) for causing artifact build bustage...
[gecko.git] / js / src / tests / test262 / built-ins / Number / prototype / S15.7.4_A3.1.js
blob40104551bd84049569e6da17643983c7c1371517
1 // Copyright 2009 the Sputnik authors.  All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
4 /*---
5 info: The Number prototype object has the property constructor
6 es5id: 15.7.4_A3.1
7 description: The test uses hasOwnProperty() method
8 ---*/
9 assert.sameValue(
10   Number.prototype.hasOwnProperty("constructor"),
11   true,
12   'Number.prototype.hasOwnProperty("constructor") must return true'
15 reportCompare(0, 0);