summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-4-531-2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-531-2.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-4-531-2.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-531-2.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-531-2.js
index e0e3eded8..16bd7a199 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-4-531-2.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-531-2.js
@@ -16,26 +16,26 @@ var obj = [];
obj.verifySetFunction = "data";
Object.defineProperty(obj, "0", {
- get: function () {
- return obj.verifySetFunction;
- },
- set: function (value) {
- obj.verifySetFunction = value;
- },
- configurable: true
+ get: function() {
+ return obj.verifySetFunction;
+ },
+ set: function(value) {
+ obj.verifySetFunction = value;
+ },
+ configurable: true
});
obj.verifySetFunction1 = "data1";
-var getFunc = function () {
- return obj.verifySetFunction1;
+var getFunc = function() {
+ return obj.verifySetFunction1;
};
-var setFunc = function (value) {
- obj.verifySetFunction1 = value;
+var setFunc = function(value) {
+ obj.verifySetFunction1 = value;
};
Object.defineProperty(obj, "0", {
- get: getFunc,
- set: setFunc
+ get: getFunc,
+ set: setFunc
});
verifyEqualTo(obj, "0", getFunc());