summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-4-82-12.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-82-12.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-4-82-12.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-82-12.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-82-12.js
index 7c20a6c1a..34294da07 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-4-82-12.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-82-12.js
@@ -16,21 +16,21 @@ includes: [propertyHelper.js]
var obj = {};
obj.verifySetFunction = "data";
-var get_func = function() {
- return obj.verifySetFunction;
+var get_func = function () {
+ return obj.verifySetFunction;
};
-var set_func = function(value) {
- obj.verifySetFunction = value;
+var set_func = function (value) {
+ obj.verifySetFunction = value;
};
Object.defineProperty(obj, "foo", {
- get: get_func,
- set: set_func,
- enumerable: false,
- configurable: true
+ get: get_func,
+ set: set_func,
+ enumerable: false,
+ configurable: true
});
Object.defineProperty(obj, "foo", {
- enumerable: true
+ enumerable: true
});
verifyEqualTo(obj, "foo", get_func());