JavaScript Cancelar rolagem

const pause = (scroll) => window.clearTimeout(scroll)
Lioruby