I'm facing a challenge with this map I have
Immutable.Map({ winChance : 49.99, rollOver : 49.99, payOut : 1.98, rollToggle : 1,})
How can I efficiently update all the values in this map at once? I need to incorporate it into a function.
I am looking for a solution similar to:
return state.set({'winChance':winChance,'payOut':payOut,'rollOver':rollOver})
If you have any suggestions or solutions on how to achieve this, please let me know!