
Map, Filter and Reduce – Animated by Javascript Teacher
Javascript Teacher : Twitter || Instagram || FB
Array.map – map all values to an expression.

Array.filter – keep all that match a condition.

NOTE: there is a small mistake in the animation. It should return [6,7], not [6,7,8].
Array.reduce – reduce all items to a single value.
