View Feed
Java Developers
Community of Java Developers: Get Java Programming Help from fellow Java Developers across the world.
650 Members
Join this group to post and comment.

javascript related doubt oops

what is the difference between functions,methods,anonymous functions and closure.
I got it but not upto the point .So please can anyone little bit more?
mohit007kumar00 • Oct 5, 2010
Well i think method is the concept related with Object oriented programming.While function isn't.
You need an object to call in the case of method.
Anonymous function is the function with runtime concept.Anonymous function doesn't have any name.It will be declared dynamically.
A function with bound constant variable is known as closure.

Share this content on your social channels -