This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "About closure in javascript" Watch "About closure in javascript" New topic
Author

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
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

JavaScript closures


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: About closure in javascript
 
Similar Threads
Setting on click function and passing in variable
functions in javascript
Does groovy break Java (philosophically)?
Is it better practice to pass an element object or element id to a function
passing arg from 1 javascript method to the other