summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-3-43.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-43.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-3-43.js22
1 files changed, 10 insertions, 12 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-43.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-43.js
index f4a0f9de7..8c2be1cae 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-3-43.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-43.js
@@ -9,20 +9,18 @@ description: >
property (8.10.5 step 3.a)
---*/
-var obj = {};
-var accessed = false;
+ var obj = {};
+ var accessed = false;
-var argObj = (function() {
- return arguments;
-})();
-argObj.enumerable = true;
+ var argObj = (function () { return arguments; })();
+ argObj.enumerable = true;
-Object.defineProperty(obj, "property", argObj);
+ Object.defineProperty(obj, "property", argObj);
-for (var prop in obj) {
- if (prop === "property") {
- accessed = true;
- }
-}
+ for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+ }
assert(accessed, 'accessed !== true');