Examveda
Examveda

The lexical scooping in JavaScript is based on which of the following?

A. Segments

B. Blocks

C. Functions

D. Entire code

Answer: Option C

Solution(By Examveda Team)

JavaScript has lexical scoping based on functions but not blocks.

This Question Belongs to Javascript >> Parsing, Benchmarking And Logging

Join The Discussion

Related Questions on Parsing, Benchmarking and Logging