Closures Explained in 100 Seconds // Tricky JavaScript Interview Prep

Fireship • June 17, 2021
Video Thumbnail
Fireship Logo

Fireship

@fireship

About

High-intensity ⚡ code tutorials and tech news to help you ship your app faster. New videos every week covering the topics every programmer should know. The original home of #100SecondsOfCode #TheCodeReport and #CodeThisNotThat. Created by Jeff Delaney. Want more Fireship? 🗞️ Newsletter – https://bytes.dev 🧠 Courses – https://fireship.dev

Video Description

What is a JavaScript Closure? Learn the how closures allow functions to "remember" outside their local scope https://fireship.io/tags/javascript/ #js #programming #100SecondsOfCode 🔗 Resources MDN Docs https://developer.mozilla.org/en-US/docs/Web/JavaScript/Closures My Favorite Closure Explanation https://stackoverflow.com/a/36879264/3808414 Interview Question https://dmitripavlutin.com/simple-but-tricky-javascript-interview-questions/ 🤓 Install the quiz app iOS https://itunes.apple.com/us/app/fireship/id1462592372?mt=8 Android https://play.google.com/store/apps/details?id=io.fireship.quizapp 🔥 Watch more with Fireship PRO Upgrade to Fireship PRO at https://fireship.io/pro Use code lORhwXd2 for 25% off your first payment. 🎨 My Editor Settings - Atom One Dark - vscode-icons - Fira Code Font