lanan-old/rescue-driver/node_modules/yallist/iterator.js
愉快的大福 7dc28dc701 init
2024-07-17 14:16:22 +08:00

9 lines
207 B
JavaScript

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