scroll javascript code example Example: scroll js window.scroll(x-coord, y-coord) window.scroll(options)