{"ScriptPreparationCode":null,"TestCases":[{"Name":"Using the spread operator","Code":"const firstObject = { sampleData: \u0027Hello world\u0027 }\r\nconst secondObject = { moreData: \u0027foo bar\u0027 }\r\nconst finalObject = {\r\n\t...firstObject,\r\n \t...secondObject\r\n};","IsDeferred":false},{"Name":"Create new object","Code":"const firstObject = { sampleData: \u0027Hello world\u0027 }\r\nconst secondObject = { moreData: \u0027foo bar\u0027 }\r\nconst finalObject = {\r\n\tsampleData: firstObject.sampleData,\r\n moreData: secondObject.moreData\r\n};","IsDeferred":false},{"Name":"destructuring","Code":"const firstObject = { sampleData: \u0027Hello world\u0027 }\r\nconst secondObject = { moreData: \u0027foo bar\u0027 }\r\nconst {sampleData} = firstObject;\r\nconst {moreData} = secondObject;\r\nconst finalObject = {\r\n\tsampleData,\r\n moreData\r\n};","IsDeferred":false}]}