Como redefinir o campo de entrada em JavaScript
document.querySelector('#counter').value = '';
Uptight Unicorn
document.querySelector('#counter').value = '';
<form onreset="Reset()">
</form>
<script>
function Reset() { }
</script>
<h2 id="count-me">4</h2>
<button onclick="save()">Reset</button>
function save() {
// If what you want to reset is an integer
document.getElementById("count-me").textContent = 0;
// If what you want to reset is a textfield
document.getElementById("textfield1").value = "";
let count = 0; // If you create a count variable in Javascript
}