{"ScriptPreparationCode":null,"TestCases":[{"Name":"Using the spread operator","Code":"const startingValue = { sample1: \u0027Hello World\u0027, sample2: [1,2,3,4], sample3: undefined }\r\nconst finalObject = {\r\n\t...startingValue,\r\n \tsample3: [1,2,3,4,5,6,7,8,9]\r\n};","IsDeferred":false},{"Name":"Using Object.assign","Code":"const startingValue = { sample1: \u0027Hello World\u0027, sample2: [1,2,3,4], sample3: undefined }\r\nconst finalObject = Object.assign({}, startingValue, {sample3: [1,2,3,4,5,6,7,8,9]} );","IsDeferred":false}]}