JSFiddle - React, Tailwind, and code Playground
by Artem
HTML
<div id="div">Hello</div>
JavaScript
'use strict';
const div1 = document.getElementById('div');
div1.title = 'Hello';
div1.remove();
console.log(div1);
by Artem
<div id="div">Hello</div>
'use strict';
const div1 = document.getElementById('div');
div1.title = 'Hello';
div1.remove();
console.log(div1);