diff options
Diffstat (limited to 'test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-19.js')
-rw-r--r-- | test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-19.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-19.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-19.js index b640d8965..2ded8363e 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-19.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-b-i-19.js @@ -10,18 +10,18 @@ description: > accessor property on an Array ---*/ - var arr = []; +var arr = []; - Object.defineProperty(arr, "0", { - set: function () { }, - configurable: true - }); +Object.defineProperty(arr, "0", { + set: function() {}, + configurable: true +}); - Object.defineProperty(Array.prototype, "0", { - get: function () { - return 2; - }, - configurable: true - }); +Object.defineProperty(Array.prototype, "0", { + get: function() { + return 2; + }, + configurable: true +}); assert.sameValue(arr.indexOf(undefined), 0, 'arr.indexOf(undefined)'); |