External Exam Download Resources Web Applications Games Recycle Bin

Input

to get input from the user:
prompt(text, defaultText)

for example:

var name = prompt("Enter your name:","anonymous");

var age = parseInt(prompt("Enter your age:"));