diff options
Diffstat (limited to 'test/built-ins/Array/prototype/indexOf/15.4.4.14-9-11.js')
-rw-r--r-- | test/built-ins/Array/prototype/indexOf/15.4.4.14-9-11.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-11.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-11.js index cf1aac541..77108424d 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-11.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-11.js @@ -9,14 +9,14 @@ description: > adding elements to the array during iteration ---*/ - var arr = [20]; +var arr = [20]; - Object.defineProperty(arr, "0", { - get: function () { - arr[1] = 1; - return 0; - }, - configurable: true - }); +Object.defineProperty(arr, "0", { + get: function() { + arr[1] = 1; + return 0; + }, + configurable: true +}); assert.sameValue(arr.indexOf(1), -1, 'arr.indexOf(1)'); |