summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-b-5.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-b-5.js')
-rw-r--r--test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-b-5.js18
1 files changed, 8 insertions, 10 deletions
diff --git a/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-b-5.js b/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-b-5.js
index f4dff9c43..d6c3a2528 100644
--- a/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-b-5.js
+++ b/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-b-5.js
@@ -10,17 +10,15 @@ description: >
var propertyFound = false;
-var obj = {
- "a": "a"
-};
+ var obj = { "a": "a" };
-var result = Object.getOwnPropertyNames(obj);
+ var result = Object.getOwnPropertyNames(obj);
-for (var p in result) {
- if (result[p] === "a") {
- propertyFound = true;
- break;
- }
-}
+ for (var p in result) {
+ if (result[p] === "a") {
+ propertyFound = true;
+ break;
+ }
+ }
assert(propertyFound, 'Property not found');