diff --git a/README.md b/README.md index e89d3b3b..2f3e7e8e 100644 --- a/README.md +++ b/README.md @@ -379,7 +379,7 @@ Other Style Guides const flat = {}; [[0, 1], [2, 3], [4, 5]].reduce((memo, item, index) => { const flatten = memo.concat(item); - flat[index] = memo.concat(item); + flat[index] = flatten; }); // good