{"ScriptPreparationCode":null,"TestCases":[{"Name":"Using the spread operator","Code":"let firstObject = { sampleData: \u0027Hello world\u0027 }\r\nconst secondObject = { moreData: \u0027foo bar\u0027 }\r\nfirstObject = {\r\n\t...firstObject,\r\n \t...secondObject\r\n};","IsDeferred":false},{"Name":"Using Object.assign","Code":"let firstObject = { sampleData: \u0027Hello world\u0027 }\r\nfirstObject = Object.assign(firstObject, { moreData: \u0027foo bar\u0027 });","IsDeferred":false},{"Name":"add","Code":"const firstObject = { sampleData: \u0027Hello world\u0027 }\r\nfirstObject.moreData = \u0027foo bar\u0027","IsDeferred":false}]}