summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-3-35.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-35.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-3-35.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-35.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-35.js
index 00b780f0a..a38b4988b 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-3-35.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-35.js
@@ -9,18 +9,18 @@ description: >
(8.10.5 step 3.a)
---*/
- var obj = {};
- var accessed = false;
+var obj = {};
+var accessed = false;
- var strObj = new String();
- strObj.enumerable = true;
+var strObj = new String();
+strObj.enumerable = true;
- Object.defineProperty(obj, "property", strObj);
+Object.defineProperty(obj, "property", strObj);
- for (var prop in obj) {
- if (prop === "property") {
- accessed = true;
- }
- }
+for (var prop in obj) {
+ if (prop === "property") {
+ accessed = true;
+ }
+}
assert(accessed, 'accessed !== true');