summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/keys/15.2.3.14-5-12.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/keys/15.2.3.14-5-12.js')
-rw-r--r--test/built-ins/Object/keys/15.2.3.14-5-12.js34
1 files changed, 17 insertions, 17 deletions
diff --git a/test/built-ins/Object/keys/15.2.3.14-5-12.js b/test/built-ins/Object/keys/15.2.3.14-5-12.js
index 0e565cc0d..8418f0262 100644
--- a/test/built-ins/Object/keys/15.2.3.14-5-12.js
+++ b/test/built-ins/Object/keys/15.2.3.14-5-12.js
@@ -10,25 +10,25 @@ description: >
var propertyFound = false;
- var obj = [2, 3, 4, 5];
+var obj = [2, 3, 4, 5];
- Object.defineProperty(obj, "prop", {
- get: function () {
- return 6;
- },
- enumerable: true,
- configurable: true
- });
+Object.defineProperty(obj, "prop", {
+ get: function() {
+ return 6;
+ },
+ enumerable: true,
+ configurable: true
+});
- var arr = Object.keys(obj);
+var arr = Object.keys(obj);
- for (var p in arr) {
- if (arr.hasOwnProperty(p)) {
- if (arr[p] === "prop") {
- propertyFound = true;
- break;
- }
- }
- }
+for (var p in arr) {
+ if (arr.hasOwnProperty(p)) {
+ if (arr[p] === "prop") {
+ propertyFound = true;
+ break;
+ }
+ }
+}
assert(propertyFound, 'Property not found');