[guide] Fix iterator code example error

The first "good" example was missing a closing bracket (line 1377).
This commit is contained in:
Ben Schroeder
2017-06-14 09:13:43 -04:00
committed by Jordan Harband
parent cd4ec6245e
commit 7bb8c9f905

View File

@@ -1374,7 +1374,7 @@ Other Style Guides
let sum = 0;
numbers.forEach((num) => {
sum += num;
);
});
sum === 15;
// best (use the functional force)