I am new to Javscript and , I have a response from the server like this,
[
    {
        "name": "jim",
        "color": "blue",
        "age": "22"
    },
    {
        "name": "Sam",
        "color": "blue",
        "age": "33"
    },
    ... 80 more.
]
There are 85 such objects in the responseArray, How do I use reduce method to get a resultArray with all the ages in the array. What I intend to make is an ageArray, as below:
const ageArray = [22,33,77 ... 88 more]
How to go about?
 
    