Preview: iterator.js
Size: 207 B
/home/byroehnu/.trash/node_modules11/yallist/iterator.js
'use strict'
module.exports = function (Yallist) {
Yallist.prototype[Symbol.iterator] = function* () {
for (let walker = this.head; walker; walker = walker.next) {
yield walker.value
}
}
}
Directory Contents
Dirs: 0 × Files: 5