Underscore.js 1.9.0 发布,JavaScript 实用功能库

栏目: 软件资讯 · 发布时间: 7年前

内容简介:Underscore.js 1.9.0 已发布,Underscore 是一个 JavaScript 工具库,提供了一整套函数式编程的实用功能,但是没有扩展任何 JavaScript 内置对象。 更新内容: Adds the _.restArguments function for variad...

Underscore.js 1.9.0 已发布,Underscore 是一个 JavaScript 工具库,提供了一整套函数式编程的实用功能,但是没有扩展任何 JavaScript 内置对象。

更新内容:

  • Adds the _.restArguments function for variadic function handling.

  • Adds the _.chunk function for chunking up an array.

  • Adds a _.isSymbol, _.isMap, _.isWeakMap, _.isSet and _.isWeakSet functions.

  • _.throttle and _.debounce return functions that now have a .cancel() method, which can be used to cancel any scheduled calls.

  • _.property now accepts arrays of keys and indexes as path specifiers, for looking up a deep properties of a value.

  • _.range now accepts negative ranges to generate descending arrays.

  • Adds support for several environments including: WebWorkers, browserify and ES6 imports.

  • The placeholder used for partial is now configurable by setting_.partial.placeholder.

  • _.bindAll now accepts arrays or arguments for keys.

  • Three years of performance improvements.

 下载地址:


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

高可用架构(第1卷)

高可用架构(第1卷)

高可用架构社区 / 电子工业出版社 / 2017-11-1 / 108.00元

《高可用架构(第1卷)》由数十位一线架构师的实践与经验凝结而成,选材兼顾技术性、前瞻性与专业深度。各技术焦点,均由极具代表性的领域专家或实践先行者撰文深度剖析,共同组成“高可用”的全局视野与领先高度,内容包括精华案例、分布式原理、电商架构等热门专题,及云计算、容器、运维、大数据、安全等重点方向。不仅架构师可以从中受益,其他IT、互联网技术从业者同样可以得到提升。一起来看看 《高可用架构(第1卷)》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

MD5 加密
MD5 加密

MD5 加密工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具