underscore集合篇

不同于数学当中的集合,在 underscore 中,简单地定义集合为 一个可迭代的序列,相较于原生的 ES5 提供的迭代方法,underscore 不仅能够对数组进行迭代,还能够对对象进行迭代。

从现在开始,我们将会进入对于 underscore 中集合函数的分析和阐述。

results matching ""

    No results matching ""