Master the JavaScript Interview: What is Functional Programming?

Eric Elliott
Jan 4, 2017 · 11 min read
Image for post
Image for post
Structure Synth — Orihaus (CC BY 2.0)

Don’t let all the new words scare you away. It’s a lot easier than it sounds.

Shared State

Timing dependency example


Side Effects

Reusability Through Higher Order Functions

“A list expressed over time is a stream.”

Declarative vs Imperative

Imperative data mapping
2 * 2
doubleMap([2, 3, 4])
Math.max(4, 3, 2)



Image for post
Image for post
Start your free lesson on

JavaScript Scene

JavaScript, software leadership, software development, and…

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

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