You can use the Object.assign() method to merge two or more objects into one, combining their properties.