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

current

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

Gets the current item this iterator is pointing to.

Signature

Iterator.current = function() { /*...*/ }
Iterator.current = function current() {
  return this.cachedIndex && this.cachedIndex.get(this.index);
}
NameType(s)Description
returns*

The current item.