ccc-tnt-psd2ui/npm-packages/mac-v3.4.+/yallist/iterator.js
2023-07-24 11:13:08 +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
}
}
}