diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-333-10.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-4-333-10.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-333-10.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-333-10.js index 226f17c35..672ddb6d7 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-4-333-10.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-333-10.js @@ -9,18 +9,18 @@ description: > is writable using simple assignment, 'O' is an Arguments object ---*/ - var obj = (function () { - return arguments; - }()); +var obj = (function() { + return arguments; +}()); - Object.defineProperty(obj, "0", { - value: 2010, - writable: true, - enumerable: true, - configurable: false - }); - var verifyValue = (obj[0] === 2010); - obj[0] = 1001; +Object.defineProperty(obj, "0", { + value: 2010, + writable: true, + enumerable: true, + configurable: false +}); +var verifyValue = (obj[0] === 2010); +obj[0] = 1001; assert(verifyValue, 'verifyValue !== true'); assert.sameValue(obj[0], 1001, 'obj[0]'); |