JavaScript Map, Filter and Reduce with simple examples

🚀 Exploring distant planets

Filtering out the entries to planet Foo
Distilling the planet names with map()
Reducing the amount of days to a single number

--

--

--

I write about Agile / Frontend / UX and other things I’m passionate about. Other things I like: Self-improvement | Travelling | Cinema | Photography

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

2D Projectile Motion using Canvas and JS

Flexbox — The Animated Tutorial

Getting started with Knex.js

Sharing (Ngrx-based) logic between Angular8 web app and Ionic4 mobile app

10 Popular Java Frameworks

Bad Variable Names to Avoid 🙅‍♀️

Getting Started with Gatsby and Cockpit — Part 2 of 2

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Constant Zomer

Constant Zomer

I write about Agile / Frontend / UX and other things I’m passionate about. Other things I like: Self-improvement | Travelling | Cinema | Photography

More from Medium

JavaScript for Beginners: Execution Context

A Feasible Workaround to JavaScript

Javascript getter and setter

localStorage and sessionStorage in JS

Banner