I am having troubles with getting the width of a div element.
let div = document.createElement('div);
div.innerText = 'Hello123';
div.style.fontSize = '16px;
div.style.clientWidth = ???;
How can I get the width of the div at this point before it gets mounted to the DOM. Thank you!!