Back to Browse

🀯 Understanding JavaScript Scope in for-loop with var and let keywords

6.4K views
Apr 26, 2022
9:42

The var and let keyword in loops may cause colossal confusion 🀯. When we do not understand the concept well, there are high chances of bugs πŸ› in the code. I recently found one while doing a code review. Hence thought of capturing it in a short video. I hope you enjoy πŸ˜€ it. Timecodes 0:00 - Introduction 00:38 - The var, let, and for-loop with example 03:48 - The var, let, for-loop with JavaScript Closures Important Links ----------------------------- - Twitter: https://twitter.com/tapasadhikary - Blog: https://blog.greenroots.info/ - Showwcase React Community: https://www.showwcase.com/community/r... Liked my work? Do you want to support my work? - https://www.buymeacoffee.com/greenroots Thank You πŸ™

Download

0 formats

No download links available.

🀯 Understanding JavaScript Scope in for-loop with var and let keywords | NatokHD