If you have an HTML form with the ID "myForm", what does the following JavaScript code do?
<form id="myForm">
<input type="text" name="name">
</form>
document.getElementById("myForm").reset();
If you have an HTML form with the ID "myForm", what does the following JavaScript code do?
<form id="myForm">
<input type="text" name="name">
</form>
document.getElementById("myForm").reset();