{"ScriptPreparationCode":"// Creates an array like [[ \u00270\u0027: 0 ], [ \u00271\u0027: 1 ], ... ]\r\nvar data = Object.entries({...Array.from(new Array(100000).keys())});","TestCases":[{"Name":"Reduce w/ temp objects","Code":"data.reduce((acc, [k, v]) =\u003E ({ ...acc, [k]: v }), {})","IsDeferred":false},{"Name":"for","Code":"var obj = {};\r\n\r\nfor (var i = 0; i \u003C data.length; i\u002B\u002B) {\r\n var [k, v] = data[i];\r\n obj[k] = v;\r\n}","IsDeferred":false},{"Name":"Object.fromEntries","Code":"Object.fromEntries(data)","IsDeferred":false},{"Name":"Reduce","Code":"data.reduce((acc, [k, v]) =\u003E { acc[k] = v; return acc; }, {})","IsDeferred":false},{"Name":"For..of","Code":"var obj = {};\r\n\r\nfor (var [k, v] of data) {\r\n obj[k] = v;\r\n}","IsDeferred":false}]}