What will be the output of the following code?
const element = document.getElementById('myElement');
element.classList.add('active');
console.log(element.classList.contains('active'));
What will be the output of the following code?
const element = document.getElementById('myElement');
element.classList.add('active');
console.log(element.classList.contains('active'));