Permalink
Browse files

Merge pull request #2044 from jethrolarson/patch-7

Fix typo in `reduced` example
  • Loading branch information...
2 parents 64c5a50 + c5b188b commit 585e3a6cbf80e361357e760b1c61018cb85734c6 @kedashoe kedashoe committed on GitHub Jan 7, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/reduced.js
View
@@ -20,7 +20,7 @@ var _reduced = require('./internal/_reduced');
* @example
*
* R.reduce(
- * (acc, item) => it > 3 ? R.reduced(acc) : acc.concat(item),
+ * (acc, item) => item > 3 ? R.reduced(acc) : acc.concat(item),
* [],
* [1, 2, 3, 4, 5]) // [1, 2, 3]
*/

0 comments on commit 585e3a6

Please sign in to comment.