Vidyalelo
JavaScript · Q40

Parsing, Benchmarking And Logging

Programming · JavaScript · question 40

Q40

What type of scooping is present in JavaScript?

A.
Lexical
Answer
B.
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.