Skip to content

Commit acd383f

Browse files
committed
Fix incorrect boolean in while statement
1 parent b452a65 commit acd383f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/javascript/lib/core/functions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function iterator_to_reducer(iterable, acc, fun) {
66
let x = iterator.next();
77
let _acc = acc;
88

9-
while (x.done === false) {
9+
while (x.done !== false) {
1010
_acc = fun(x.value, _acc.get(1));
1111
if (_acc.get(0) === Symbol.for('halt')) {
1212
return new Core.Tuple(Symbol.for('halted'), _acc.get(1));

0 commit comments

Comments
 (0)