Learn ES5 Array methods and lodash with my walkthrough that shows side-by-side comparisons of practical examples
We’ve come a long way from 2005. PrototypeJS brought us many Array.prototype methods such as #each, #filter, #pluck, #invoke, #any that have inspired ES5 Array methods and lodash methods.
Given an array of objects that you might receive from a database, what do different tasks look like with a regular for loop, jQuery.each, ES5 Array methods and lodash?
Review and try out the code and you’ll learn something about ES5 and lodash–and maybe even Star Wars.