Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (13.1k points)
Can anyone help me with the JavaScript closure? I have go through it but does not able to understand.

1 Answer

0 votes
by (26.7k points)

Basically, closure consists of a function and a reference for a outer scope. Also, every function in JavaScript have to maintain a reference, which will helps you to configure the execution, whenever a function is called.

I hope this will help.

Want to become a Java expert? Join Java Online Course now!!

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Aug 12, 2019 in Web Technology by Sammy (47.6k points)
0 votes
1 answer
0 votes
1 answer
asked Feb 14, 2021 in Java by dante07 (13.1k points)

Browse Categories

...