<button id="button" type="reset">type</button>HTMLButtonElement: type property / notebook
HTMLButtonElement: type property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
const buttonElement = document.querySelector("#button");
console.log(buttonElement.type); // "reset"