felixge / felixge/nodeguide.com
Code Conventions / Var declaration
Aperta
- Lingua principale
- CSS
- Stelle
- 368
- Fork
- 40
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I've read your comment about Crockforf and followed the link and he also says to use var the same way as you do :-)
"It is preferred that each variable be given its own line and comment. They should be listed in alphabetical order.
```
var currentEntry; // currently selected table entry
var level; // indentation level
var size; // size of table
```
"
I copied this code to JSLint and it passes. Seems Crockford changed his mind :-)
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.