JavaScript function declaration ambiguity
Now say the title of this post ten times in a row, five times as fast… yea, anyway. This is meant to be a short and sweet tip about how you declare your functions in JavaScript; mainly because there is a little white lie floating out there that says that the two declarations are synonymous. But one is just shorthand for the other. Here they are represented in code:
[Via Dustin Diaz]