Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

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

  2. A.

     Traverses the queue

    B.

     Traverses the stack

    C.

     Finds the bugs

    D.

     None of the mentioned

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    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.


Be The First To Comment