设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

lodash 3.8.0发布,JavaScript实用工具库

2015-5-3 20:35| 发布者: joejoe0332| 查看: 698| 评论: 0|原作者: oschina|来自: oschina

摘要: lodash 3.8.0 发布,此版本更新内容如下:Added_.mapKeys,_.unzipWith, _.zipWithAllowed_.difference,_.intersection,_.uniq, _.xorto accept array-like valuesEnsured empty brackets are ignored by_.get_.setEn ...

lodash 3.8.0 发布,此版本更新内容如下:

  • Added _.mapKeys, _.unzipWith, & _.zipWith

  • Allowed _.difference, _.intersection, _.uniq, & _.xor to accept array-like values

  • Ensured empty brackets are ignored by _.get & _.set

  • Ensured baseAt, basePullAt, & pullAt handle nullish values correctly

  • Ensured baseGet only returns undefined for incomplete paths

  • Ensured _.padLeft & _.padRight handle empty strings correctly

  • Made _.isEqual treat -0 & 0 as equivalent

  • Narrowed bitmask checks in _.flow & _.flowRight

  • Optimized lazy slice for start of 0

  • Optimized _.flatten methods

  • Restricted Object.assign use to strict mode only

此版本现已提供下载:https://github.com/lodash/lodash/archive/3.8.0.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。


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部