In PHP, you can do...
range(1, 3); // Array(1, 2, 3) range(\"A\", \"C\"); // Array(\"A\", \"B\", \"C\")
That is, there is a function that l
Here's my 2 cents:
function range(start, count) { return Array.apply(0, Array(count)) .map((element, index) => index + start); }