{"ScriptPreparationCode":"var array = [];\r\nfor (let i = 0 ; i \u003C 10000 ; i\u002B\u002B) {\r\n\tarray.push ({ value: Math.floor (Math.random () * 1000) });\r\n}","TestCases":[{"Name":"reversed for loop","Code":"const value = Math.floor (Math.random () * 1000);\r\nlet found = undefined;\r\nfor (let i = array.length - 1 ; i \u003E= 0 ; i--) {\r\n\tconst cell = array[i];\r\n\tif (cell.value === value) {\r\n\t\tfound = cell;\r\n\t\tbreak;\r\n }\r\n}","IsDeferred":false},{"Name":"find method =\u003E","Code":"const value = Math.floor (Math.random () * 1000);\r\nlet found = array.find ((cell) =\u003E cell.value === value);","IsDeferred":false},{"Name":"find method function","Code":"const value = Math.floor (Math.random () * 1000);\r\nlet found = array.find (function (cell) { return cell.value === value });","IsDeferred":false}]}