{"ScriptPreparationCode":null,"TestCases":[{"Name":"object spread","Code":"const obj = {};\r\nfor(i=0;i\u003C100000;i\u002B\u002B){\r\n obj[i] = \u0027some long string which will need to be copied\u0027;\r\n}\r\n\r\nconst obj2 = {key: \u0027This is final object\u0027}\r\n\r\nconst final = {obj2, ...obj};","IsDeferred":false},{"Name":"object assign","Code":"const obj = {};\r\nfor(i=0;i\u003C100000;i\u002B\u002B){\r\n obj[i] = \u0027some long string which will need to be copied\u0027;\r\n}\r\n\r\nconst obj2 = {key: \u0027This is final object\u0027}\r\n\r\nconst final = Object.assign({}, obj2, obj)","IsDeferred":false},{"Name":"immutable-js","Code":"const obj = {};\r\nfor(i=0;i\u003C100000;i\u002B\u002B){\r\n obj[i] = \u0027some long string which will need to be copied\u0027;\r\n}\r\nconst immObj = Immutable.Map();\r\n\r\nconst obj2 = {key: \u0027This is final object\u0027}\r\n\r\nconst final = immObj.set(obj).set(obj2);","IsDeferred":false}]}