JavaScript Cancel Scroll

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