News for hackers. Stuff that matters.
Re:Apple JavaScript Coding Guidelines by mnemonik on Sunday October 31, 2010 @11:11PM (#1855209)
Indeed, however you have to be careful about the outer scope that the assignment is happening in (because of IE): http://kangax.github.com/nfe/#jscript-bugs

The other option, if you are on Webkit, is to assign something to the `displayName` property of a function or method. This is explained really well here: http://www.alertdebugging.com/2009/04/29/building-a-better-j...

Re:Apple JavaScript Coding Guidelines by solutionyogi on Sunday October 31, 2010 @11:37PM (#1855257)
Yeah, I should have added the warning about JScript bugs. At least the first two bugs listed on that page has been fixed in IE9.
Re:Apple JavaScript Coding Guidelines by mnemonik on Monday November 01, 2010 @01:16AM (#1855468)
Do you have a link regarding IE9 fixing the NFE bugs? Googling "ie9 named function expression" didn't yield particularly good results. Thanks.