summaryrefslogtreecommitdiff
path: root/test/built-ins/Number/prototype/S15.7.4_A3.3.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Number/prototype/S15.7.4_A3.3.js')
-rw-r--r--test/built-ins/Number/prototype/S15.7.4_A3.3.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/built-ins/Number/prototype/S15.7.4_A3.3.js b/test/built-ins/Number/prototype/S15.7.4_A3.3.js
new file mode 100644
index 000000000..ad9b3ec4f
--- /dev/null
+++ b/test/built-ins/Number/prototype/S15.7.4_A3.3.js
@@ -0,0 +1,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 toLocaleString
+es5id: 15.7.4_A3.3
+description: The test uses hasOwnProperty() method
+---*/
+
+//CHECK#1
+if(Number.prototype.hasOwnProperty("toLocaleString") !== true){
+ $ERROR('#1: The Number prototype object has the property toLocaleString');
+}