The lexical scooping in JavaScript is based on which of the following?
(a) Segments
(b) Blocks
(c) Functions
(d) Entire code
This question was addressed to me during an interview.
Query is from JavaScript Benchmarking and Logging with perfLogger in division Parsing, Benchmarking and Logging of JavaScript