Suppose you have a text field created in HTML. And you retrieve the user input through java script. What is the type when you retrieve the data? Is it automatically a string?
<input type="text" id="input">
document.form.name.value; // what is the type of this?