blob: fcd674d13a5f9854047cc48c7f4638f301b62a2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: The Number prototype object has the property toPrecision
es5id: 15.7.4_A3.7
description: The test uses hasOwnProperty() method
---*/
//CHECK#1
if(Number.prototype.hasOwnProperty("toPrecision") !== true){
$ERROR('#1: The Number prototype object has the property toPrecision');
}
|