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