πŸ“Š JavaScript
Q. What is lexical scope?
  • (A) Scope determined at compile time based on code structure
  • (B) Scope determined at runtime
  • (C) Scope of a function inside a loop
  • (D) Scope within a class
πŸ’¬ Discuss
βœ… Correct Answer: (A) Scope determined at compile time based on code structure

Explanation: Lexical scope means the scope is determined by the physical placement of code.

Explanation by: Mr. Dubey
Lexical scope means the scope is determined by the physical placement of code.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
43
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
83%
Success Rate