Q42
The lexical scooping in JavaScript is based on which of the following?
A.
Segments
B.
Blocks
C.
Functions
AnswerD.
Entire code
Answer: Option C
Solution
Answer: Option C
Solution:
JavaScript has lexical scoping based on functions but not blocks.