{"ScriptPreparationCode":"var count = 4;\r\nvar arr = new Array(count);\r\narr.fill(null);\r\narr = arr.map((el, idx) =\u003E ({ id: idx }));\r\nvar randomEl = arr[Math.floor(Math.random() * count)];\r\nvar randomId = randomEl.id;","TestCases":[{"Name":"findIndex","Code":"var index = arr.findIndex((el) =\u003E el.id === randomId);","IsDeferred":false},{"Name":"indexOf","Code":"var index = arr.indexOf(randomEl);","IsDeferred":false}]}