2

Reduce method is tuff

Comments
  • 2
    Once you've done it a couple of times, it'll be fine :)
  • 3
    Just don’t forget to pass an initialValue to reduce if working with an array of objects!
  • 1
    Once you get the hang of it you’ll realize how useful it can be.
Add Comment