diff options
Diffstat (limited to 'test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-8-b-i-22.js')
-rw-r--r-- | test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-8-b-i-22.js | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-8-b-i-22.js b/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-8-b-i-22.js index 735c9cc7a..8dbf01f64 100644 --- a/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-8-b-i-22.js +++ b/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-8-b-i-22.js @@ -9,9 +9,11 @@ description: > accessor property without a get function on an Array-like object ---*/ - Object.defineProperty(Object.prototype, "0", { - set: function () { }, - configurable: true - }); +Object.defineProperty(Object.prototype, "0", { + set: function() {}, + configurable: true +}); -assert.sameValue(Array.prototype.lastIndexOf.call({ length: 1 }, undefined), 0, 'Array.prototype.lastIndexOf.call({ length: 1 }, undefined)'); +assert.sameValue(Array.prototype.lastIndexOf.call({ + length: 1 +}, undefined), 0, 'Array.prototype.lastIndexOf.call({ length: 1 }, undefined)'); |