summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-2-4.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/getOwnPropertyNames/15.2.3.4-2-4.js')
-rw-r--r--test/built-ins/Object/getOwnPropertyNames/15.2.3.4-2-4.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-2-4.js b/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-2-4.js
index fd42435c7..4eb034bec 100644
--- a/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-2-4.js
+++ b/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-2-4.js
@@ -8,13 +8,13 @@ description: >
built-in constructor
---*/
- var oldArray = Array;
- Array = function () {
- throw new Error("invoke customer defined Array!");
- };
+var oldArray = Array;
+Array = function() {
+ throw new Error("invoke customer defined Array!");
+};
- var obj = {};
+var obj = {};
- var result = Object.getOwnPropertyNames(obj);
+var result = Object.getOwnPropertyNames(obj);
assert.sameValue(Object.prototype.toString.call(result), "[object Array]", 'Object.prototype.toString.call(result)');