Underscore.string Version (2.0.0) 中文文档
Underscore.string.js Version (2.0.0) 中文文档Javascript缺乏完整的字符串 *** 作。Underscore.string.js试图填补这一空白。您可以在深入 JavaScript 中找到生成中方法列表
正如名称指出的Underscore.string.js为 Underscore.js 的扩展,但你可以独立使用_s-全局变量。但配合 Underscore.js 使用,您可以使用面向对象的样式和链式调用:
_(" epeli ").chain().trim().capitalize().value() => "Epeli"github项目地址:http://epeli.github.com/underscore.string/ | https://github.com/epeli/underscore.string
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)