1.0.3 • Published 7 years ago
funny-fold-right v1.0.3
foldRight
Simple modules for functional programming, done for fun.
Usage
import foldRight from 'funny-fold-right'
foldRight((acc, item) => acc + item, 10, [1, 2, 3, 4]) // 20
License
The MIT License (MIT). Copyright (c) 2016 Luís Rodrigues.