开发者

Pep-8 like style guidelines for JavaScript

Is there a style guidelines document for JavaScript? Something like pep-8 for python or similar.

I could find http://docs.jquery.com/JQuery_Core_Style_Guideline开发者_StackOverflow社区s, so looking for things in a similar spirit.


This is quite a good one with JavaScript Code Quality Tool

JSLint

and the instruction

JSLint instruction

but be careful it may hurt your feeling


I recommend JavaScript Naming Conventions page. It points out some things much better than JSLint and JSLint instruction.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜