reset

fun reset()(source)

The HTMLFormElement.reset() method restores a form element's default values. This method does the same thing as clicking the form's control.

MDN Reference