Files
zyt/TongjiUniApp/node_modules/yallist/iterator.js
T
2026-10-22 11:12:16 +08:00

9 lines
207 B
JavaScript
Executable File

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