Opal-Estate-Pro/node_modules/yallist/iterator.js
2019-09-13 11:27:52 +07:00

8 lines
183 B
JavaScript
Executable File

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