you can call Object.keys to get an array of property names of yourObject and the use the map metod with it:
Object.keys(yourObject).map( key => doStuff(yourObject[key]))
you can call Object.keys to get an array of property names of yourObject and the use the map metod with it:
Object.keys(yourObject).map( key => doStuff(yourObject[key]))
No replies yet.