summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-1.js')
-rw-r--r--test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-1.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-1.js b/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-1.js
index 865477923..558377801 100644
--- a/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-1.js
+++ b/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-1.js
@@ -6,14 +6,14 @@ es5id: 15.2.3.4-4-1
description: Object.getOwnPropertyNames returns array of property names (Global)
---*/
-var result = Object.getOwnPropertyNames(this);
-var expResult = ["NaN", "Infinity", "undefined", "eval", "parseInt", "parseFloat", "isNaN", "isFinite", "decodeURI", "decodeURIComponent", "encodeURI", "encodeURIComponent", "Object", "Function", "Array", "String", "Boolean", "Number", "Date", "Date", "RegExp", "Error", "EvalError", "RangeError", "ReferenceError", "SyntaxError", "TypeError", "URIError", "Math", "JSON"];
+ var result = Object.getOwnPropertyNames(this);
+ var expResult = ["NaN", "Infinity", "undefined", "eval", "parseInt", "parseFloat", "isNaN", "isFinite", "decodeURI", "decodeURIComponent", "encodeURI", "encodeURIComponent", "Object", "Function", "Array", "String", "Boolean", "Number", "Date", "Date", "RegExp", "Error", "EvalError", "RangeError", "ReferenceError", "SyntaxError", "TypeError", "URIError", "Math", "JSON"];
-var result1 = {};
-for (var p in result) {
- result1[result[p]] = true;
-}
+ var result1 = {};
+ for (var p in result) {
+ result1[result[p]] = true;
+ }
-for (var p1 in expResult) {
- assert(result1[expResult[p1]], 'result1[expResult[p1]] !== true');
-}
+ for (var p1 in expResult) {
+ assert(result1[expResult[p1]], 'result1[expResult[p1]] !== true');
+ }