barbiturat
7/28/2017 - 5:00 PM

Method o

Method o

// Replace all values of array with one

const replacer = o(map, always);
replacer(3)([1,2,3]); //=> [3, 3, 3]