parcoursup/node_modules/yallist/iterator.js
lalBi94 7bc56c09b5 $
2023-03-05 13:23:23 +01: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
}
}
}