Alright, i'm always trying to make FOR loops that end based upon user input.
for (var a = 0; a = prompt("Please input a number, and only a number."); a++)
//stuff that happens in loop
I always end up getting an infinite loop.
I'm slightly confused with why.
p.s. how would one delimit the prompt to ONLY accept numbers (because there are always dicks (like me) out there who like to input strings)?