funny-each
v1.0.2
Published
Simple modules for functional programming, done for fun.
Downloads
2
Readme
each
Simple modules for functional programming, done for fun.
Usage
import each from 'funny-each'
const all = []
each(item => all.push(item + 1), [1, 2, 3, 4])
all // [2, 3, 4, 5]
License
The MIT License (MIT). Copyright (c) 2016 Luís Rodrigues.