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]


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

查看所有标签

猜你喜欢:

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

C++ How to Program (5th Edition) (How to Program)

C++ How to Program (5th Edition) (How to Program)

Harvey & Paul) Deitel & Associates / Prentice Hall / 2005-01-05 / USD 98.00

With over 250,000 sold, Harvey and Paul Deitel's C++ How to Program is the world's best-selling introduction to C++ programming. Now, this classic has been thoroughly updated! The Deitels' groundbreak......一起来看看 《C++ How to Program (5th Edition) (How to Program)》 这本书的介绍吧!

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

在线 XML 格式化压缩工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具