If you haven’t heard of .map(), .reduce(), and .filter() in JavaScript, you might want to learn to use it!
medium.com