JavaScript Get SrollWidth


        
            
        
     const box = document.querySelector('.box');
const scrollbarWidth = box.offsetWidth - box .clientWidth;
Light Loris