| .. | |||||
| LICENSE | |||||
| iterator.js | |||||
| package.json | |||||
| yallist.js |
'use strict'
module.exports = function (Yallist) {
Yallist.prototype[Symbol.iterator] = function* () {
for (let walker = this.head; walker; walker = walker.next) {
yield walker.value
}
}
}
| .. | |||||
| LICENSE | |||||
| iterator.js | |||||
| package.json | |||||
| yallist.js |