Advertisement

Closures Explained in 100 Seconds // Tricky JavaScript Interview Prep

By Fireship 4:57 427,134 views on YouTube Watch on YouTube
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 co…
Ready for your next step?

Put these tips to work — thousands of new jobs are added every day.

Browse jobs Get job alerts

This video is shown with YouTube's player and belongs to its creator, Fireship.

Report this video