Is there a way to generate sequence of characters or numbers in javascript?
For example, I want to create array that contains eight 1s. I can do it with for loop, bu
Another method, for those how are memory saving pedant:
Array.apply(null, Array(3)).map(Function.prototype.call.bind(Number))