anonymous function in js

+3 votes
38 views
asked Dec 12, 2012 in java script by jonathan (3,105 points)

i need some clarification in javascript

  1.what's anonymous function?

  2.why we use anonymous function instead of normal function?

1 Answer

0 votes
answered Dec 13, 2012 by codeg (2,600 points)

1.anonymous functon is nothing the declaration is look like 

   var failed = function(parm,parm1,param2....){ 

   }

2.http://helephant.com/2008/08/23/javascript-anonymous-functions/

you can refer this linke for more inforamtion

...