GT2/GT2-iOS/node_modules/yallist/iterator.js

8 lines
183 B
JavaScript
Raw Normal View History

2018-02-12 17:26:06 +00:00
var Yallist = require('./yallist.js')
Yallist.prototype[Symbol.iterator] = function* () {
for (let walker = this.head; walker; walker = walker.next) {
yield walker.value
}
}