0 votes
in JavaScript by

What is a closure?

a) Function objects

b) Scope where function’s variables are resolved

c) Both Function objects and Scope where function’s variables are resolved

d) Function return value

1 Answer

0 votes
by

Answer:-  C

Reason:  A combination of a function object and a scope (a set of variable bindings) in which the function’s variables are resolved is called a closure.

Related questions

0 votes
0 votes
0 votes
asked Dec 2, 2022 in JavaScript by john ganales
0 votes
asked Dec 1, 2022 in JavaScript by john ganales
...