pineapplemachine / higher

Lazy and async higher-order functions in JavaScript.
Other
3 stars 0 forks source link

Add repeatEachElement function #130

Closed pineapplemachine closed 7 years ago

pineapplemachine commented 7 years ago

Usage example -

const string = "hello!";
hi.assertEqual(hi.repeatEachElement(string, 3), "hhheeellllllooo!!!");