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
you can use lodash function _.range(10) https://lodash.com/docs#range
lodash
_.range(10)