Syntax window.scrollTo(numX, numY) The scrollTo() method scrolls the window to the specified location. X-Coordinate: Y-Coordinate: