{"ScriptPreparationCode":"var arr = new Array(15000);\r\narr.fill({ id: 0 });\r\narr = arr.map((el, idx) =\u003E el.id = idx);\r\nvar foo = Math.floor(Math.random() * 15000);","TestCases":[{"Name":"findIndex","Code":"const index = arr.findIndex((itm) =\u003E itm.id === foo);","IsDeferred":false},{"Name":"ForEach","Code":"const index = -1;\r\n\r\narr.forEach((value, i) =\u003E {\r\n if (value.id === foo) {\r\n index = i\r\n }\r\n});","IsDeferred":false}]}