What will be the output of the following code?
const element = document.createElement('div');
element.setAttribute('class', 'myClass');
console.log(element.className);
What will be the output of the following code?
const element = document.createElement('div');
element.setAttribute('class', 'myClass');
console.log(element.className);