how to remove scroll in window of html from javascript code example Example: javascript cancel scroll const pause = (scroll) => window.clearTimeout(scroll)