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

reverse

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

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

Examples

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