{"ScriptPreparationCode":null,"TestCases":[{"Name":"Object.assign","Code":"const firstObject = { sampleData: \u0027Hello world\u0027 }\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n firstObject[i] = {\r\n \u0027a\u0027: \u0027asdvasdv\u0027,\r\n \u0027b\u0027: \u0027bsdbsdfgsdfg\u0027,\r\n \u0027c\u0027: \u0027advadsfbasdg\u0027,\r\n \u0027d\u0027: \u0027vbsdfgadfgdfg\u0027\r\n }\r\n}\r\nconst secondObject = { 1: \u0027foo bar\u0027 }\r\nconst finalObject = Object.assign(firstObject, secondObject);","IsDeferred":false},{"Name":"Spread","Code":"const firstObject = { sampleData: \u0027Hello world\u0027 }\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n firstObject[i] = {\r\n \u0027a\u0027: \u0027asdvasdv\u0027,\r\n \u0027b\u0027: \u0027bsdbsdfgsdfg\u0027,\r\n \u0027c\u0027: \u0027advadsfbasdg\u0027,\r\n \u0027d\u0027: \u0027vbsdfgadfgdfg\u0027\r\n }\r\n}\r\nconst secondObject = { 1: \u0027foo bar\u0027 }\r\nconst finalObject = {...firstObject, secondObject}","IsDeferred":false}]}