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