Merging a simple array with a more complex one without concat for React App : > I need to merge this array -

    [
        0
        :
        "Basket Abandonment"
        1
        :
        "Downloads"
        2
        :
        "App Version"
        3
        :
        "Last Push Performance" 
    ]

> with this array -

     [
        0
        :
        bottom
        :
        {value: "£3,456", title: "Revenue Influence", status: "neutral", 
        comp: 
         "same", details: "Direct Revenue £1,567"}
        top
        :
        {details: "Average 32%", status: "neutral", comp: "same", title: 
        "Most Recent Response Rate", value: "35%", …}
        __proto__
        :
        Object
        1
        :
        bottom
        :
        {value: "8.7%", title: "Previous Version", status: "", comp: "", details: "3.1.39    22nd Jul 2015"}
        top
        :
        {details: "3.1.40    25th August 2015", status: "", comp: "", title: "Latest Version", value: "86%", …}
        __proto__
        :
        Object
        2
        :
        bottom
        :
        {value: "469", title: "Total Reviews", status: "neutral", comp: 
        "same", details: "2 New This Week"}
        top
        :
        {details: "Version 3.1.40", status: "neutral", comp: "same", title: 
        "Average Rating", value: "4.0", …}
        __proto__
        :
        Object
        3
        :
        bottom
        :
        {value: "4 min 00 sec", title: "Average Session Length", status: 
        "positive", comp: "up", details: "was 3 min 20 sec"}
        top
        :
        {details: "was 178,958", status: "negative", comp: "down", title: 
        "Number of Visits", value: "145,789", …}
        __proto__
        :
        Object
     ]

> The nested objects in the second array are what i can't get my head
> around. I need to get the 3 values from the first array added to each
> object instance of the second so that I have a main-title: "eg. 
> Downloads","App version" as well as the contents of "top" and "bottom". 
> If that makes sense....
> 
> This is basically for a React application that i'm trying to combine
> the results from one axios call into the results of another axios call
> so that they can be dynamically passed down to props on the last
> component. Each instance of the component will have a different Title
> ie. "downloads" from the first array that can't be hard-coded in - and
> the other details will come from the 2nd array.


