Quantcast
Channel: Recent Posts in Pragmatic Guide to JavaScript | Pragmatic Forums
Viewing all articles
Browse latest Browse all 20

JavaScript Debugging posted by Christophe Porteneuve @ Sat, 09 Oct 2010 19:05:01 +0000

$
0
0

Hello Brad,

I just wanted to let you know: after some research, the displayName property for functions appears to work only in Safari.

That’s a bit narrow to warrant mention in the book. Especially when I believe we should aways use named function expressions (NFE) for important methods (those we’re likely to want to spot in a stack trace, for instance), leaving anonymity only for functions-as-blocks use cases.

Thanks for the suggestion, though! I appreciate it.

Best,


Viewing all articles
Browse latest Browse all 20

Trending Articles