Bug 1904139 - Don't re-initialize platform font list from GetDefaultFont. r=jfkthame
[gecko.git] / js / src / tests / test262 / built-ins / Number / prototype / S15.7.4_A3.7.js
blob31dbd09de357e0c6ece1d62da560614a7724ad0c
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 toPrecision
6 es5id: 15.7.4_A3.7
7 description: The test uses hasOwnProperty() method
8 ---*/
9 assert.sameValue(
10   Number.prototype.hasOwnProperty("toPrecision"),
11   true,
12   'Number.prototype.hasOwnProperty("toPrecision") must return true'
15 reportCompare(0, 0);