diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-59.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-4-59.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-59.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-59.js index f8928ac1f..e8eeb3ca6 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-4-59.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-59.js @@ -13,15 +13,16 @@ includes: [propertyHelper.js] var obj = {}; function getFunc() { - return 0; + return 0; } + function setFunc(value) { - obj.helpVerifySet = value; + obj.helpVerifySet = value; } Object.defineProperty(obj, "foo", { - get: getFunc, - set: setFunc + get: getFunc, + set: setFunc }); Object.defineProperty(obj, "foo", {}); |