0 votes
in JavaScript by

Which one of the following is not a example of closures?

a) Graphics

b) Variables

c) Functions

d) Objects

1 Answer

0 votes
by

Answer: A

Reason: A closure is created each time a function is created in JavaScript. In general, we can say that all the closures are function or vice versa, and function has a scope chain associated with them.

Related questions

0 votes
asked Mar 21, 2021 in JavaScript by rajeshsharma
0 votes
asked Oct 10, 2022 in JavaScript by SakshiSharma
...