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
• encryption explained | Public key cryptogr...
2. maximum substring in a string (Google interview question)
• Google Interview Question | Maximum subseq...
3. How the javascript engine works?
• How the Javascript engine works | The basics
4. Real time median in a stream, another google interview question
• Median in a stream | priority queue | max ...
5. Understand the Javascript event loop
• Javascript event loop | Every Javascript d...
6. Understand Promises in javascript
• JavaScript promises | Understand promises ...
7. Git basics you must know
• Git basics | 8 commands in 8 minutes | Git...
This video makes use of Icons made by Flat Icons (https://www.flaticon.com/authors/flat...) from www.flaticon.com
In questa pagina del sito puoi guardare il video online Javascript interview question | closures in javascript della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Code Sketched 14 aprile 2019, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,979 volte e gli è piaciuto 67 spettatori. Buona visione!