πŸ“Š JavaScript
Q. During the traversing of the stack when you create a locally scoped variable, where does it go after it goes to the namespace?
  • (A) Window
  • (B) Function
  • (C) Document
  • (D) Location
πŸ’¬ Discuss
βœ… Correct Answer: (B) Function

Explanation: When you create a locally scoped variable for caching the reference, the traversal reverses in the forward direction and thus, after going to the namespace, it goes to the function.

Explanation by: Mr. Dubey
When you create a locally scoped variable for caching the reference, the traversal reverses in the forward direction and thus, after going to the namespace, it goes to the function.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
160
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate