diff options
author | André Bargull <andre.bargull@gmail.com> | 2018-02-09 09:09:47 -0800 |
---|---|---|
committer | Leo Balter <leonardo.balter@gmail.com> | 2018-02-09 12:09:47 -0500 |
commit | f95b56ab28c5f18150f30fbfa889a4f6ba0e50a1 (patch) | |
tree | d403f704c1b6a1842f12df380651919beaaf5fef /test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-13.js | |
parent | a01de4a722d088055a7d84d8c691ddd7109edb34 (diff) | |
download | qtdeclarative-testsuites-f95b56ab28c5f18150f30fbfa889a4f6ba0e50a1.tar.gz |
Revert "js-beautify: make all indentation consistent (depth & character) (#1409)" (#1412)
This reverts commit a01de4a722d088055a7d84d8c691ddd7109edb34.
Diffstat (limited to 'test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-13.js')
-rw-r--r-- | test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-13.js | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-13.js b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-13.js index f45f555cf..2390e6e7f 100644 --- a/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-13.js +++ b/test/built-ins/Array/prototype/indexOf/15.4.4.14-9-a-13.js @@ -9,19 +9,16 @@ description: > prototype index property not to be visited on an Array-like Object ---*/ -var arr = { - 2: 2, - length: 20 -}; + var arr = { 2: 2, length: 20 }; -Object.defineProperty(arr, "0", { - get: function() { - delete Object.prototype[1]; - return 0; - }, - configurable: true -}); + Object.defineProperty(arr, "0", { + get: function () { + delete Object.prototype[1]; + return 0; + }, + configurable: true + }); -Object.prototype[1] = 1; + Object.prototype[1] = 1; assert.sameValue(Array.prototype.indexOf.call(arr, 1), -1, 'Array.prototype.indexOf.call(arr, 1)'); |