Newer
Older
alert / js / node_modules / yallist / iterator.js
@Réz István Réz István on 18 Nov 2021 207 bytes first commit
'use strict'
module.exports = function (Yallist) {
  Yallist.prototype[Symbol.iterator] = function* () {
    for (let walker = this.head; walker; walker = walker.next) {
      yield walker.value
    }
  }
}