in JavaScript by

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

a) Graphics

b) Variables

c) Functions

d) Objects

► Click here to show 1 Answer

0 votes

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.

Learn More with Madanswer

Related questions

0 votes
asked Mar 20 in JavaScript by sharadyadav1986