lodash 3.7.0 发布,此版本更新内容如下: Added _.get, _.method, _.methodOf, & _.set Added support for assigning ES6 symbols to _.assign, _.defaults, & _.merge Avoided a JIT bug in Safari on iOS 8.1 ARM64 Ensured _.intersection of a single array returns an empty array Ensured _.remove doesn’t mutate array in the same pass as executing predicate Ensured methods like _.has, _.get, & _.result can access index values of strings Made createAssigner & _.sortByAll use _.restParam Made _.add coerce augend & addend params to numbers Made _.assign use built-in Object.assign when available Made _.inRange swap start & end params when start is greater than end Added deep path support to methods like _.has, _.get, _.callback, _.invoke,_.matchesProperty, _.method, _.methodOf, _.property, _.propertyOf,_.result, & _.set lodash-cli 更新请看 lodash-cli changelog。更多内容请看更新日志。 此版本现已提供下载:https://github.com/lodash/lodash/archive/3.7.0-npm-packages.zip lodash 是一个 JavaScript 实用工具库,提供一致性,模块化,性能和配件等功能。 _.assign({ 'a': 1 }, { 'b': 2 }, { 'c': 3 }); // → { 'a': 1, 'b': 2, 'c': 3 } _.map([1, 2, 3], function(n) { return n * 3; }); // → [3, 6, 9] 当前支持 Chrome 39-40, Firefox 34-35, IE 6-11, Opera 25-26, Safari 5-8, io.js 1.0.4, Node.js 0.8.28 & 0.10.35, PhantomJS 1.9.8, RingoJS 0.11, & Rhino 1.7RC5。 Lodash 3.7.0 发布,JavaScript 实用工具库下载地址