public_library_map/node_modules/yallist/iterator.js
2021-09-05 10:12:48 +00:00

8 lines
183 B
JavaScript

var Yallist = require('./yallist.js')
Yallist.prototype[Symbol.iterator] = function* () {
for (let walker = this.head; walker; walker = walker.next) {
yield walker.value
}
}