InterviewBuddy
All interview questions

What is lexical scope?

Beginner

Answer

A function can access variables based on where it was written, not where it is called. Inner scopes can read bindings from outer scopes.