Write a function that generates the list of numbers from the range string? function solve( a ){ //write your code here } Login to Submit
Input: "1-5" Output: [1, 2, 3, 4, 5]