{"ScriptPreparationCode":null,"TestCases":[{"Name":"Using the spread operator","Code":"const firstObject = { a: 0, b: 0 }\r\nconst secondObject = { a: 1, b: 1 }\r\nconst finalObject = {\r\n\t...firstObject,\r\n \t...secondObject\r\n};","IsDeferred":false},{"Name":"Using Object.assign","Code":"const firstObject = { a: 0, b: 0 }\r\nconst secondObject = { a: 1, b: 1 }\r\nconst finalObject = Object.assign(firstObject, secondObject);","IsDeferred":false},{"Name":"Assigning directly","Code":"let firstObject = { a: 0, b: 0 }\r\nconst secondObject = { a: 1, b: 1 }\r\nfinalObject = { a: secondObject.a, b: secondObject.b };","IsDeferred":false}]}