{"ScriptPreparationCode":null,"TestCases":[{"Name":"Using the spread operator","Code":"const firstObject = { sampleData: \u0027Hello world\u0027, a: \u0027a\u0027, b: \u0027b\u0027, c: \u0027c\u0027 }\r\nconst secondObject = { moreData: \u0027foo bar\u0027, a: \u0027a\u0027, b: \u0027b\u0027, c: \u0027c\u0027 }\r\nconst finalObject = {\r\n\t...firstObject,\r\n \t...secondObject\r\n};","IsDeferred":false},{"Name":"Using assignment","Code":"const firstObject = { sampleData: \u0027Hello world\u0027, a: \u0027a\u0027, b: \u0027b\u0027, c: \u0027c\u0027 }\r\nconst secondObject = { moreData: \u0027foo bar\u0027, a: \u0027a\u0027, b: \u0027b\u0027, c: \u0027c\u0027 }\r\nconst finalObject = {\r\n \t...secondObject,\r\n\ta: firstObject.a,\r\n};","IsDeferred":false}]}