1 var userInput;
2 var more;
3
4 userInput=prompt("Select number from 0 to 9","")
5 userInput=parseInt(userInput);
6
7
8 for (index=userInput;index < 0;index>9 ) {
9 document.write("Not in range");
10
11
12}
13document.write("Not in range");
14