Can you please post your code instead of a screenshot?
Thats not my code…the trouble is , i need help for better understanding of reduce method.
obj
is the accumulator, it starts as an empty object and is built step after step to make the desired object
1 Like