Q40
What type of scooping is present in JavaScript?
A.
Lexical
AnswerB.
Literal
C.
Both Lexical and Literal
D.
None of the mentioned
Answer: Option A
Solution
Answer: Option A
Solution:
JavaScript supports lexical scooping that deals with functions instead of blocks.