summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-48.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-48.js')
-rw-r--r--test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-48.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-48.js b/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-48.js
index 61299ad64..bdb85cf3b 100644
--- a/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-48.js
+++ b/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-48.js
@@ -10,22 +10,22 @@ description: >
var propertyFound = false;
- var arr = [0, 1, 2];
+var arr = [0, 1, 2];
- Object.defineProperty(arr, "ownProperty", {
- get: function () {
- return "ownArray";
- },
- configurable: true
- });
+Object.defineProperty(arr, "ownProperty", {
+ get: function() {
+ return "ownArray";
+ },
+ configurable: true
+});
- var result = Object.getOwnPropertyNames(arr);
+var result = Object.getOwnPropertyNames(arr);
- for (var p in result) {
- if (result[p] === "ownProperty") {
- propertyFound = true;
- break;
- }
- }
+for (var p in result) {
+ if (result[p] === "ownProperty") {
+ propertyFound = true;
+ break;
+ }
+}
assert(propertyFound, 'Property not found');