编码规范

1.function 作为类时,首字母大写

2.function 作为方法,第二个单词首字母大写。

3.js最好用单引号。

原文地址:https://www.cnblogs.com/yqlog/p/5566568.html