?一个非常实用的JavaScript库,提供许多本赛季功能的支持,就像你期望??(或者?), 有这些功能且不扩展任何JavaScript的原生对象。有函数式本赛季的风格,还支持链式调用。主要涉及对Collection、Object、Array、Function的操作,还有一些实用方法。可以说是写JavaScript程序的必用类库。
Underscore.js Version (1.2.3) 中文文档:https://www.7psus5.com/doc/underscore/
注:Collections和Functions翻译来自
Underscore.js Version (1.2.3) 源码解析:https://www.7psus5.com/doc/underscore/docs/underscore.html
Underscore.js 测试:
https://www.7psus5.com/doc/underscore/test/test.html
https://www.7psus5.com/doc/underscore/test/temp_tests.html
这丫的源码,看得我脑子打结……
我想不到用它的理由
最近看了下 代码写法和通用方法思路很值得借鉴