This is my array:
array = [{plant: "shrub", length: "2 meters"},
{animal: "dog", age: "5 years old"}]
My desired result is:
desiredArray = {plant: "shrub", length: "2 meters", animal: "dog", age: "5 years old" }
Help me combine my array with multiple length.