javascript - Can anyone explain the difference between closure and anonymous functions? -


I am relatively new to javascript. I understand the concept of anonymous tasks - but the closure is less clear, the similitude between both of them (at least in my mind) is misleading.

Can anyone explain the difference? (Specifically, with some code snippets, to illustrate the points).

Have you seen this article?

It may also be good as a starting point:


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -