x/rambda/source/repeat.js
12345678export function repeat(x, timesToRepeat) { if (arguments.length === 1) { return _timesToRepeat => repeat(x, _timesToRepeat) } return Array(timesToRepeat).fill(x)}