// Scroll to the bottom of the page
let maxY = window.scrollMaxY;
window.scrollTo(0, maxY);Window: scrollMaxY property / notebook
Window: scrollMaxY property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.