summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/keys/15.2.3.14-5-16.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/keys/15.2.3.14-5-16.js')
-rw-r--r--test/built-ins/Object/keys/15.2.3.14-5-16.js34
1 files changed, 17 insertions, 17 deletions
diff --git a/test/built-ins/Object/keys/15.2.3.14-5-16.js b/test/built-ins/Object/keys/15.2.3.14-5-16.js
index 327c196f4..1031fd08c 100644
--- a/test/built-ins/Object/keys/15.2.3.14-5-16.js
+++ b/test/built-ins/Object/keys/15.2.3.14-5-16.js
@@ -8,23 +8,23 @@ description: >
object 'O' is defined in returned array
---*/
-var obj = new String("xyz");
-obj[-20] = -20;
-obj[20] = 20;
+ var obj = new String("xyz");
+ obj[-20] = -20;
+ obj[20] = 20;
-Object.defineProperty(obj, "prop1", {
- get: function() {},
- enumerable: true,
- configurable: true
-});
-Object.defineProperty(obj, "prop2", {
- get: function() {},
- enumerable: false,
- configurable: true
-});
+ Object.defineProperty(obj, "prop1", {
+ get: function () { },
+ enumerable: true,
+ configurable: true
+ });
+ Object.defineProperty(obj, "prop2", {
+ get: function () { },
+ enumerable: false,
+ configurable: true
+ });
-var arr = Object.keys(obj);
+ var arr = Object.keys(obj);
-for (var i = 0; i < arr.length; i++) {
- assert(obj.hasOwnProperty(arr[i]), 'obj.hasOwnProperty(arr[i]) !== true');
-}
+ for (var i = 0; i < arr.length; i++) {
+ assert(obj.hasOwnProperty(arr[i]), 'obj.hasOwnProperty(arr[i]) !== true');
+ }