How to explain Javascript .filter() .map() and .reduce() to SQL users

I found using .filter() .map() and .reduce() Array methods could help to reduce code complexity and simplify many typical array data processing tasks. Looking at http://kangax.github.io/compat-table/es5/#test-Array_methods, you can confirm these methods are compatible with almost any modern desktop/mobile browser.

A good approach to understand how to use .filter() .map() and .reduce() is to compare each one to SQL data operations in SELECT statements.

Continue reading “How to explain Javascript .filter() .map() and .reduce() to SQL users”