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

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

内容简介: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]


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

查看所有标签

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

数学规划

数学规划

黄红选 / 清华大学出版社 / 2006-3 / 45.00元

《数学规划》以数学规划为对象,从理论、算法和计算等方面介绍,分析和求解常见的最优化问题的一些方法,全书共分8章,其中第l章介绍了数学规划的实例、模型以及在分析最优化问题时所涉及的基础知识,第2章至第8章分别讨论了凸分析、线性规划、无约束优化、约束优化、多目标规划、组合优化和整数规划以及全局优化等七个方面的内容,此外,书中每章的最后一节给出了一些习题,书末列出了参考文献和索引。《数学规划》可作为应用......一起来看看 《数学规划》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

html转js在线工具
html转js在线工具

html转js在线工具