{"ScriptPreparationCode":null,"TestCases":[{"Name":"Using Object.assign","Code":"const firstObject = { sampleData: \u0027Hello world\u0027 }\r\nconst secondObject = { moreData: \u0027foo bar\u0027 }\r\nconst finalObject = Object.assign(Object.assign(Object.create(null), firstObject),secondObject);","IsDeferred":false},{"Name":"Using spread op","Code":"const firstObject = {sampleData: \u0027Hello world\u0027};\r\nconst secondObject = {moreData: \u0027foo bar\u0027};\r\nconst finalObject = {...firstObject, ...secondObject};","IsDeferred":false}]}