{"ScriptPreparationCode":null,"TestCases":[{"Name":"Spread","Code":"let obj = {};\r\nfor(i=0;i\u003C1000;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":"ImmutableJS","Code":"let obj = Immutable.Map();\r\nfor(i=0;i\u003C1000;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":"Map","Code":"const obj = new Map();\r\nfor(i=0;i\u003C1000;i\u002B\u002B){\r\n const key = \u0027key\u0027\u002Bi\r\n const value = \u0027value\u0027\u002Bi\r\n obj.set(key, {key, value})\r\n}\r\n","IsDeferred":false},{"Name":"Map with converting to Object after the operations","Code":"const obj = new Map();\r\nfor(i=0;i\u003C1000;i\u002B\u002B){\r\n const key = \u0027key\u0027\u002Bi\r\n const value = \u0027value\u0027\u002Bi\r\n obj.set(key, {key, value})\r\n}\r\nObject.fromEntries(obj)\r\n","IsDeferred":false}]}