ES6 Arrow functions and Lexical Scope

Brian Greig
Jul 24, 2017 · 1 min read

Ecmascript 6 introduces a new way to write anonymous functions called arrow functions (sometimes called “Fat Arrow” functions). These are concise and allow for functions to retain lexical scope after they are executed. In this video we go through the basics of syntax for this way of structuring your programs as well as the nuance of how it handles the “this” keywork in your applications.

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