summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-3-248-1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-248-1.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-3-248-1.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-248-1.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-248-1.js
index 4ff3487ad..222c7aca7 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-3-248-1.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-248-1.js
@@ -9,16 +9,16 @@ description: >
prototype object (8.10.5 step 8.a)
---*/
- var obj = {};
- var data = "data";
+var obj = {};
+var data = "data";
- Function.prototype.set = function (value) {
- data = value;
- };
- var funObj = function () { };
+Function.prototype.set = function(value) {
+ data = value;
+};
+var funObj = function() {};
- Object.defineProperty(obj, "property", funObj);
- obj.property = "overrideData";
+Object.defineProperty(obj, "property", funObj);
+obj.property = "overrideData";
assert(obj.hasOwnProperty("property"), 'obj.hasOwnProperty("property") !== true');
assert.sameValue(data, "overrideData", 'data');