summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperties/15.2.3.7-5-b-226.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-5-b-226.js')
-rw-r--r--test/built-ins/Object/defineProperties/15.2.3.7-5-b-226.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-226.js b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-226.js
index 86b207273..da6e91356 100644
--- a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-226.js
+++ b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-226.js
@@ -8,18 +8,18 @@ description: >
(8.10.5 step 8)
---*/
-var data = "data";
-var obj = {};
+ var data = "data";
+ var obj = {};
-Object.defineProperties(obj, {
- "prop": {
- set: function(value) {
- data = value;
- }
- }
-});
+ Object.defineProperties(obj, {
+ "prop": {
+ set: function (value) {
+ data = value;
+ }
+ }
+ });
-obj.prop = "overrideData";
+ obj.prop = "overrideData";
assert(obj.hasOwnProperty("prop"), 'obj.hasOwnProperty("prop") !== true');
assert.sameValue(data, "overrideData", 'data');