{"ScriptPreparationCode":null,"TestCases":[{"Name":"object spread","Code":"let obj = {};\r\nfor(i=0;i\u003C100;i\u002B\u002B){\r\n const key = \u0027key\u0027\u002Bi\r\n const value = \u0027value\u0027\u002Bi\r\n obj = {...obj, [key]: {key, value}}\r\n}\r\n","IsDeferred":false},{"Name":"immutable-js","Code":"let obj = Immutable.Map();\r\nfor(i=0;i\u003C100;i\u002B\u002B){\r\n const key = \u0027key\u0027\u002Bi\r\n const value = \u0027value\u0027\u002Bi\r\n obj = obj.set(key, {key, value})\r\n}\r\n","IsDeferred":false},{"Name":"immer","Code":"let obj = immer.produce(\r\n {}, \r\n draft =\u003E {\r\n for(i=0;i\u003C100;i\u002B\u002B){\r\n const key = \u0027key\u0027\u002Bi\r\n const value = \u0027value\u0027\u002Bi\r\n draft[key] = {key, value}\r\n }\r\n})\r\n\r\n","IsDeferred":false}]}