Skip to content

Commit

Permalink
Closes #38
Browse files Browse the repository at this point in the history
  • Loading branch information
ENikS committed Oct 19, 2016
1 parent 844debe commit 659a6e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/linq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,13 +397,13 @@ class EnumerableImpl<T> implements Enumerable<T>, Iterable<T>, IEnumerable<T> {
let res1: IteratorResult<T>, res2: IteratorResult<T>;
let it1 = this[Symbol.iterator]();
let it2 = other[Symbol.iterator]();
do {
while (true) {
res1 = it1.next(); res2 = it2.next();
if (res1.done && res2.done) return true;
if ((res1.done != res2.done) || !equal(res1.value, res2.value)) {
return false;
}
} while (!(res1.done) && !(res2.done));
return true;
};
}


Expand Down

0 comments on commit 659a6e4

Please sign in to comment.