{"ScriptPreparationCode":"ids = [...Array(1000)].map(() =\u003E window.crypto.randomUUID());\r\nshuffledData = ids.sort(() =\u003E 0.5 - Math.random()).map(id =\u003E ({id, value: window.crypto.randomUUID()}));","TestCases":[{"Name":"map \u0026 find","Code":"const sortedData = ids.map(id =\u003E shuffledData.find(item =\u003E item.id === id));","IsDeferred":false},{"Name":"lookup map using obj","Code":"const map = {};\r\nshuffledData.forEach(item =\u003E map[item.id] = item);\r\nconst sortedData = ids.map(id =\u003E map[id]);","IsDeferred":false},{"Name":"lookup map using map","Code":"const map = new Map();\r\nshuffledData.forEach(item =\u003E map.set(item.id, item));\r\nconst sortedData = ids.map(id =\u003E map.get(id));","IsDeferred":false}]}