How to remove multiple classes from element in JavaScript

DOM
By Jad Joubran · 
Last updated Sep 22, 2018
<div id="box" class="active highlighted"></div>
const element = document.querySelector("#box");

element.classList.remove("active", "highlighted");
<div id="box"></div>