目录
当前位置: 首页 > 文档资料 > Lazy.js 英文文档 >

map

优质
小牛编辑
136浏览
2023-12-01

An optimized version of Sequence#map, which creates an ArrayLikeSequence so that the result still provides random access.

Examples

Lazy([1, 2, 3]).map(Lazy.identity) // instanceof Lazy.ArrayLikeSequence