The Window.scroll() method scrolls the window to a particular place in the document.
Window.scroll()
MDN Reference