{"ScriptPreparationCode":"const data = new Array(1000000)\r\n\t.fill(1)\r\n\t.map((item) =\u003E Math.floor(Math.random() * 10000))","TestCases":[{"Name":"Using the spread operator","Code":"const map = new Map();\r\n\r\ndata.forEach((item) =\u003E { map.set(item, Math.random()); });","IsDeferred":false},{"Name":"Using Object.assign","Code":"\r\nconst map = {}\r\n\r\ndata.forEach((item) =\u003E { map[item] = Math.random(); });","IsDeferred":false}]}