I am very green and starting to learn JS, just started my small project for practice. I found my "reset" button is no longer working, would you guys pls hv some comments? Thanks a lot.
<input type="button" value="Reset" onclick="clear()">
function clear(){
document.getElementById("result").value.reset();}