CNode 社区第三方微信小程序版本,欢迎扫码体验👏
项目中变量命名,采用数据类型显式声明的方式
- fn => function
- b => boolean
- s => string
- n => number
- a => array
- o => object
// 示例
let fnFoo = function() {};
let bFlag = false;
let sMessage = 'hello world';
let nCount = 0;
let aTodoList = [];
let oTodo = {
text: '',
start_time: 1536627800131
};