Zresetuj funkcję JavaScript

document.getElementById("myForm").reset();
Undefined