Welcome to mirror list, hosted at ThFree Co, Russian Federation.

iterator.js « yallist « node_modules - github.com/austingebauer/devise.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4a15bf22c400326fc31f68eb3c0dde4714e6af0c (plain)
1
2
3
4
5
6
7
var Yallist = require('./yallist.js')

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