felixge / felixge/node-style-guide
declare functions
Open
- Dominant language
- JavaScript
- Stars
- 5k
- Forks
- 893
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.