I am a bit lost in my functional programming game.
I have an object like this:
const answers = {1: 'first', 2:'second', 3:'third', 4:'fourth'}
I would like to reshape the object into an array of objects like this.
const arrayOfAnswers = [{1:'first'}, {2:'second'}, {3:'third'}, {4:'fourth'}]
What would be an easy solution to reach this?