{"ScriptPreparationCode":null,"TestCases":[{"Name":"Spread","Code":"const firstObject = { sampleData: \u0027Hello world\u0027 }\r\nconst secondObject = { moreData: \u0027foo bar\u0027 }\r\nconst finalObject = { \r\n ...firstObject, \r\n ...secondObject \r\n};","IsDeferred":false},{"Name":"Forloop","Code":"const firstObject = { sampleData: \u0027Hello world\u0027 }\r\nconst secondObject = { moreData: \u0027foo bar\u0027 }\r\nconst finalObject = { };\r\n\r\nfor (let item in firstObject) {\r\n finalObject[item] = firstObject[item];\r\n}\r\n\r\nfor (let item in secondObject) {\r\n finalObject[item] = secondObject[item];\r\n}","IsDeferred":false}]}