Merge pull request #2634 from jmoenig/foreach

Update threads.js
pull/95/head
Jens Mönig 2020-07-09 10:19:54 +02:00 zatwierdzone przez GitHub
commit a1573044dd
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -2441,7 +2441,7 @@ Process.prototype.doForEach = function (upvar, list, script) {
this.context.accumulator.source.cdr();
} else { // arrayed
this.context.accumulator.idx += 1;
next = list.at(this.context.accumulator.idx);
next = this.context.accumulator.source.at(this.context.accumulator.idx);
}
this.pushContext('doYield');
this.pushContext();