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
Auf dieser Seite können Sie das Online-Video Javascript interview question | closures in javascript mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Code Sketched 14 April 2019 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,979 Mal angesehen und es wurde von 67 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!