What will be the output of the following code?
const element = document.getElementById('myElement');
element.setAttribute('data-info', '123');
console.log(element.getAttribute('data-info'));
What will be the output of the following code?
const element = document.getElementById('myElement');
element.setAttribute('data-info', '123');
console.log(element.getAttribute('data-info'));