{"ScriptPreparationCode":null,"TestCases":[{"Name":"Using the spread operator","Code":"const firstObject = { sampleData: ()=\u003E{return 1\u002B1;} }\r\nconst secondObject = { moreData: \u0027foo bar\u0027 }\r\nlet finalObject = {};\r\nfinalObject[\u0027firstObject\u0027] = firstObject.sampleData;\r\nfinalObject[\u0027secondObject\u0027] = secondObject.moreData;","IsDeferred":false},{"Name":"Using Object.assign","Code":"const firstObject = { sampleData: ()=\u003E{return 1\u002B1;} }\r\nconst secondObject = { moreData: \u0027foo bar\u0027 }\r\nconst finalObject = Object.assign(firstObject, secondObject);","IsDeferred":false}]}