summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/keys/15.2.3.14-5-a-2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/keys/15.2.3.14-5-a-2.js')
-rw-r--r--test/built-ins/Object/keys/15.2.3.14-5-a-2.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/built-ins/Object/keys/15.2.3.14-5-a-2.js b/test/built-ins/Object/keys/15.2.3.14-5-a-2.js
index 5d57f077a..10f811ac6 100644
--- a/test/built-ins/Object/keys/15.2.3.14-5-a-2.js
+++ b/test/built-ins/Object/keys/15.2.3.14-5-a-2.js
@@ -8,15 +8,13 @@ description: >
correct
---*/
-var obj = {
- prop1: 100
-};
+ var obj = { prop1: 100 };
-var array = Object.keys(obj);
+ var array = Object.keys(obj);
-array[0] = "isWritable";
+ array[0] = "isWritable";
-var desc = Object.getOwnPropertyDescriptor(array, "0");
+ var desc = Object.getOwnPropertyDescriptor(array, "0");
assert.sameValue(array[0], "isWritable", 'array[0]');
assert(desc.hasOwnProperty("writable"), 'desc.hasOwnProperty("writable") !== true');