1.0.1 • Published 7 years ago
pure-arr v1.0.1
pure-arr
Pure, immutable equivalents of Array.prototype.
import {push} from 'pure-arr';
const a = push([1, 2], 3);
// 👉 [1, 2, 3]- Implements all
Array.prototypemethods. - First argument is always an array.
- Does not mutate inputs.
License
Unlicense — public domain.