Friday, February 1, 2008

js: fun() alias to function()

I was trying to persuade on several forums and irc channels to be able to use in javascript
fun() as alias of function().
Especially with today ajax world and using function() all over the place I think it will make things much more readable and also easy to type and format.
Think about all those event handlers, closures, callbacks... I think it make sense !

No comments: