Watch and track your favorite playlist.
Curated by: Code Sketched (96 videos)
Hello there, Welcome to comscience simplified. In this week's video, we will look into closures in javascript which is one of the most important javascript interview questions. We are planning to start out with a concept that is a hot favorite of many interviewers i.e. Scopes & Closures. Today, we will take this common interview question with the 'for' loop and a variable in the closure scope to analyse the output of the code snippet. We will look at a work-around solution and then, an efficient, optimized solution to this problem. Here are some links to our other popular videos: 1. Learn about public-key cryptography https://www.youtube.com/watch?v=64DL9BNVwkU& 2. maximum substring in a string (Google interview question) https://www.youtube.com/watch?v=IHsX70r-fIQ 3. How the javascript engine works? https://www.youtube.com/watch?v=KM9coMpy5sQ 4. Real time median in a stream, another google interview question https://www.youtube.com/watch?v=1CxyVdA_654 5. Understand the Javascript event loop https://www.youtube.com/watch?v=XzXIMZMN9k4 6. Understand Promises in javascript https://www.youtube.com/watch?v=gV7SaMIFyg8 7. Git basics you must know https://www.youtube.com/watch?v=HDRXwokgWpo This video makes use of Icons made by Flat Icons (https://www.flaticon.com/authors/flat-icons) from www.flaticon.com