How about function declarations? It drives me nuts when I see var packAssets; packAssets = function(...) { return packed; } I don't understand why people do this. If you call it before the declaration packAssets will be undefined.