File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes About closure in javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "About closure in javascript" Watch "About closure in javascript" New topic

About closure in javascript

pravin rasal
Ranch Hand

Joined: Jul 27, 2011
Posts: 63
I want to know more about closures in JavaScript. Actually why we used closures in JavaScript.
Give one example of closures
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

JavaScript closures

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: About closure in javascript
jQuery in Action, 3rd edition