Im currently reading eloquent JavaScript and this was an example for using the prompt command:
var theNumber = Number(prompt("Pick a number", " "));
Why does the bolded need to be there? Is that the way of letting the computer know what kind of entry was entered? If it was a set of words would it be String(prompt("Pick a number", " "));