What does the interpreter do when you reference variables in other scopes?

What does the interpreter do when you reference variables in other scopes?
A. Traverses the queue
B. Traverses the stack
C. Finds the bugs
D. Traverse the array
 
Answer: b
Explanation: The interpreter executes the javascript code. Normally when you reference variables in other scopes at the global level, in other namespaces, and so on—the interpreter needs to traverse the stack to get to the variable.
 

Tìm kiếm

Back
Top