{"ScriptPreparationCode":"var arr = [];\r\n\r\nfor (let i = 1; i \u003C= 10000; i\u002B\u002B) {\r\n arr.push({ id: i, name: \u0060${i}\u0060 });\r\n}\r\n\r\nvar map = new Map(arr.map(item =\u003E [item.id, item]));","TestCases":[{"Name":"new Map","Code":"new Map(arr.map(item =\u003E [item.id, item]));","IsDeferred":false},{"Name":"Array.from","Code":"Array.from(map.values());","IsDeferred":false},{"Name":"Spread Operator","Code":"[...map.values()]","IsDeferred":false}]}