summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-43.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-43.js')
-rw-r--r--test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-43.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-43.js b/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-43.js
index b3ae879d9..8f8bf48ab 100644
--- a/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-43.js
+++ b/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-43.js
@@ -10,22 +10,22 @@ description: >
var propertyFound = false;
- var str = new String("abc");
+var str = new String("abc");
- Object.defineProperty(str, "ownProperty", {
- get: function () {
- return "ownString";
- },
- configurable: true
- });
+Object.defineProperty(str, "ownProperty", {
+ get: function() {
+ return "ownString";
+ },
+ configurable: true
+});
- var result = Object.getOwnPropertyNames(str);
+var result = Object.getOwnPropertyNames(str);
- 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');