in JavaScript by
Q:
In JavaScript, what kind of scoping is used?

a) Literal scoping

b) Sequential scoping

c) Segmental scoping

d) Lexical scoping

► Click here to show 1 Answer

0 votes
by

Answer: D

Reason: In JavaScript, the lexical scoping is used just like many other modern languages.This means a function gets executed using the scope chain which was in effect, when they are defined instead of variable scope which was in effect when they are invoked/called.

JavaScript
Learn More with Madanswer

Related questions

0 votes
asked Mar 24 in JavaScript by sharadyadav1986
...