how i turn number values into an array in Javascript. I want to use array into the loop
Here I want to use array method 'pop', but i cant bcz num has a returned integer value, so how can i turn the vallue into an arry. let num = 0; for(i=0; i<=10; i++){ num = i let r…