summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperties/15.2.3.7-5-b-242.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-5-b-242.js')
-rw-r--r--test/built-ins/Object/defineProperties/15.2.3.7-5-b-242.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-242.js b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-242.js
index 10187cbb8..3e4d4117f 100644
--- a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-242.js
+++ b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-242.js
@@ -9,18 +9,18 @@ description: >
step 8.a)
---*/
- var data = "data";
- var descObj = new Boolean(false);
- var setFun = function (value) {
- data = value;
- };
- descObj.prop = {
- set: setFun
- };
+var data = "data";
+var descObj = new Boolean(false);
+var setFun = function(value) {
+ data = value;
+};
+descObj.prop = {
+ set: setFun
+};
- var obj = {};
- Object.defineProperties(obj, descObj);
- obj.prop = "booleanData";
+var obj = {};
+Object.defineProperties(obj, descObj);
+obj.prop = "booleanData";
assert(obj.hasOwnProperty("prop"), 'obj.hasOwnProperty("prop") !== true');
assert.sameValue(data, "booleanData", 'data');