学习/练习js的一些例子,目前只有
es5,后续后添加es6、jQuery核心解读、nodejs、测试用例、集成CI等例子
要求在目标文件夹里创建当前功能的文件夹,比如:es5/array-forEach/,表示数组的forEach功能研究,该文件夹内要求有:
README.md该功能的描述,如:参数说明、兼容性、小技巧、性能研究、常用场景等index.js功能写的例子
- Object.keys
- Date.now
- Date.parse
- Array.isArray
- JSON.parse
- JSON.stringify
- Function.prototype.bind
- String.prototype.trim
- Array.prototype.map
- Array.prototype.forEach
- Array.prototype.indexOf
- Array.prototype.lastIndexOf
- Array.prototype.every
- Array.prototype.some
- Array.prototype.filter
- Array.prototype.reduce
- Array.prototype.reduceRight
- Strict mode
todo