0 votes
in JavaScript by
What is the primary rule of the Lexical Scoping?

a) Functions are always declared in the scope

b) Variables are declared inside the function

c) Functions are always declared outside the scope

d) Functions gets executes using scope chain

1 Answer

0 votes
by

Answer: D

Reason: The fundamental rule of lexical scoping is that: In the JavaScript, A function gets executed using the scope chain which was in effect, when they are defined.

...