summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-3-1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/getOwnPropertyNames/15.2.3.4-3-1.js')
-rw-r--r--test/built-ins/Object/getOwnPropertyNames/15.2.3.4-3-1.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-3-1.js b/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-3-1.js
index c4a893ccd..d6c02ef65 100644
--- a/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-3-1.js
+++ b/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-3-1.js
@@ -8,9 +8,11 @@ description: >
from index 0
---*/
- var obj = { prop1: 1001 };
+var obj = {
+ prop1: 1001
+};
- var arr = Object.getOwnPropertyNames(obj);
+var arr = Object.getOwnPropertyNames(obj);
assert(arr.hasOwnProperty(0), 'arr.hasOwnProperty(0) !== true');
assert.sameValue(arr[0], "prop1", 'arr[0]');