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.3.js
blob3df204dac0f524570e022078286d2b0ce1a59d57
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 toLocaleString
6 es5id: 15.7.4_A3.3
7 description: The test uses hasOwnProperty() method
8 ---*/
9 assert.sameValue(
10   Number.prototype.hasOwnProperty("toLocaleString"),
11   true,
12   'Number.prototype.hasOwnProperty("toLocaleString") must return true'
15 reportCompare(0, 0);