Have you failed a job interview?
Send us your job interview questions and get correct answers.

Explain lexical scope in JavaScript

Experience Level: Medior
Tags: JavaScript


Lexical Scoping defines how variable names are resolved in nested functions: inner functions contain the scope of parent functions even if the parent function has returned.

Related JavaScript job interview questions


No Comments Yet.
Be the first to tell us what you think.