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