diff options
Diffstat (limited to 'test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-8-b-i-15.js')
-rw-r--r-- | test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-8-b-i-15.js | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-8-b-i-15.js b/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-8-b-i-15.js index e91eaf66b..32c4149d8 100644 --- a/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-8-b-i-15.js +++ b/test/built-ins/Array/prototype/lastIndexOf/15.4.4.15-8-b-i-15.js @@ -9,26 +9,26 @@ description: > accessor property on an Array ---*/ - Object.defineProperty(Array.prototype, "0", { - get: function () { - return 10; - }, - configurable: true - }); +Object.defineProperty(Array.prototype, "0", { + get: function() { + return 10; + }, + configurable: true +}); - Object.defineProperty(Array.prototype, "1", { - get: function () { - return 20; - }, - configurable: true - }); +Object.defineProperty(Array.prototype, "1", { + get: function() { + return 20; + }, + configurable: true +}); - Object.defineProperty(Array.prototype, "2", { - get: function () { - return 30; - }, - configurable: true - }); +Object.defineProperty(Array.prototype, "2", { + get: function() { + return 30; + }, + configurable: true +}); assert.sameValue([, , , ].lastIndexOf(10), 0, '[, , , ].lastIndexOf(10)'); assert.sameValue([, , , ].lastIndexOf(20), 1, '[, , , ].lastIndexOf(20)'); |