How to prevent default action of event in JavaScript

DOM
Last updated Dec 16, 2017
<div id="box"></div>
const element = document.querySelector("#box");

element.addEventListener("click", event => {
  event.preventDefault();
  //Default action prevented
});