felixge / felixge/nodeguide.com
Code Conventions / Var declaration
未關閉
- 主要語言
- CSS
- 星號
- 368
- 分支
- 40
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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 :-)
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。