logo       

Re: syntax passing event params ?: msg#00019

mozilla.devel.dom

Subject: Re: syntax passing event params ?

rvj wrote:
BTW Do you happen to know when the synatx foo = function (x,y) can.or
should be used ?

In this case you create anonymous function and assign it to variable which I think is pretty legal though not much used. See
http://devedge.netscape.com/library/manuals/2000/javascript/1.5/guide/fcns.html#1008302

JavaScript is interesting mix of procedural and functional language, but not much people use functional languages, for example look at
http://www.crockford.com/javascript/javascript.html

JZ


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise