The prompt statement in JavaScript (not Web JavaScript) is supposed to return a > prompting the user to enter a string. Here is my code:
var i;
while(i == i) {
var input = prompt();
}
Yet this is the output: undefined> Is there a reason this is happening?