{"ScriptPreparationCode":"var firstObject = { sampleData: \u0027Hello world\u0027, sampleData2: \u0027Hello world\u0027, sampleData3: \u0027Hello world\u0027,sampleData4: \u0027Hello world\u0027 };\r\nvar secondObject = { moreData: \u0027foo bar\u0027,moreData2: \u0027foo bar\u0027,moreData3: \u0027foo bar\u0027,moreData4: \u0027foo bar\u0027 };","TestCases":[{"Name":"Using the spread operator","Code":"\r\nconst finalObject = {\r\n\t...firstObject,\r\n \t...secondObject\r\n};","IsDeferred":false},{"Name":"Using Object.assign","Code":"\r\nconst finalObject = Object.assign(firstObject, secondObject);","IsDeferred":false},{"Name":"Empty object assign","Code":"\r\nconst finalObject = Object.assign({}, firstObject, secondObject);","IsDeferred":false}]}