{"ScriptPreparationCode":"var arr = Array.from({length: 100}).map((_,i) =\u003E ({id: i}));\r\nvar findTargets = Array.from({length: 100}).map((_,i) =\u003E idGen());\r\nfunction idGen() {\r\n return Math.floor(Math.random() * 100) % 100\r\n}","TestCases":[{"Name":"array to map and find ","Code":"const arrMap = new Map(arr.entries())\r\nfindTargets.forEach(target =\u003E arrMap.get(target));","IsDeferred":false},{"Name":"array find","Code":"findTargets.forEach(target =\u003E arr.find(i =\u003E i.id === target));","IsDeferred":false}]}