I was a fan of For Loops and the way they make everything explicit in terms of what exactly it’s doing, and how you can get to exact solutions to specific problems. But I’ve been studying ES6 and that’s when forEach came along. I’ve been converted. This method on the array prototype is helping me get acquainted with abstraction. And after working with it for a bit I’m actually starting to like it. I’m also finding the map and filter methods, const/let and arrow functions very helpful as well. This is great preparation for React.js.
Love & Peace,