in JavaScript by
Q:
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

► Click here to show 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.

JavaScript
Learn More with Madanswer
...