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