书栈网 · BookStack 本次搜索耗时 0.034 秒,为您找到 2405 个相关结果.
  • underscore

    underscore 读后有收获可以支付宝请作者喝咖啡,读后有疑问请加微信群讨论: underscore 前面我们已经讲过了,JavaScript是函数式编程语言,支持高阶函数和闭包。函数式编程非常强大,可以写出非常简洁的代码。例如Array 的map() 和filter() 方法: 'use strict' ; var a1 = [...
  • underscore

    431 2020-01-12 《Meteor API Docs 1.8》
    underscore underscore Documentation of Meteor's underscore package. Underscore is a utility-belt library forJavaScript that provides support for functional programming. It...
  • Underscore

    underscore 集合(collection) 数组函数(Array Functions) 函数(Function (uh, ahem) Functions) 对象函数(Object Functions) 实用功能(Utility Functions) 参考资料 underscore 这是一个js库文件,相当于一个工具包,提供了一些常...
  • 8 underscore

    underscore underscore 前面我们已经讲过了,JavaScript是函数式编程语言,支持高阶函数和闭包。函数式编程非常强大,可以写出非常简洁的代码。例如Array 的map() 和filter() 方法: 'use strict' ; var a1 = [ 1 , 4 , 9 , 16 ]; var ...
  • underscore 系列之如何写自己的 underscore

    877 2019-05-09 《冴羽 underscore》
    前言 自己实现 root Web Worker node vm 微信小程序 函数对象 _.functions mixin 导出 源码 相关链接 underscore 系列 前言 在 《JavaScript 专题系列》 中,我们写了很多的功能函数,比如防抖、节流、去重、类型判断、扁平数组、深浅拷贝、查找数组元素、通用遍历、柯里...
  • underscore 系列之链式调用

    506 2019-05-09 《冴羽 underscore》
    前言 jQuery _.chain _.value 最终代码 underscore 系列 前言 本文接着上篇《underscore 系列之如何写自己的 underscore》 ,阅读本篇前,希望你已经阅读了上一篇。 jQuery 我们都知道 jQuery 可以链式调用,比如: $ ( "div" ). eq ( 0 ). css (...
  • underscore 的源码该如何阅读?

    907 2019-05-09 《冴羽 underscore》
    前言 介绍 起因 如何阅读 全目录 下期预告 前言 别名:《underscore 系列 8 篇正式完结!》 介绍 underscore 系列是我写的第三个系列,前两个系列分别是 JavaScript 深入系列 、JavaScript 专题系列 。 这个系列算是 JavaScript 专题系列的番外篇,总共写了 8 篇,重点介绍了 u...
  • underscore 系列之内部函数 restArgs

    661 2019-05-09 《冴羽 underscore》
    partial rest parameter restArgs 优化 性能优化 restArgs 与 partial underscore 系列 partial 在《 JavaScript 专题之偏函数》 中,我们写了一个 partial 函数,用来固定函数的部分参数,实现代码如下: // 这是文章中的第一版 function p...
  • You don't (may not) need Lodash/Underscore

    You don't (may not) need Lodash/Underscore You don't (may not) need Lodash/Underscore Lodash and Underscore are great modern JavaScript utility libraries, and they are widely u...
  • underscore 系列之字符实体与 _.escape

    496 2019-05-09 《冴羽 underscore》
    前言 XSS 攻击 字符实体 转义 思考 _.escape 非捕获分组 反转义 抽象 underscore 系列 前言 underscore 提供了 _.escape 函数,用于转义 HTML 字符串,替换 &, <, >, ", ', 和 ` 字符为字符实体。 _ . escape ( 'Curly, Larry & Moe'...