Scriptbar Snippets 🚀
Handy and easy to understand snippets to keep in your browser
scroll-to-top.js

#Basic

Scroll to top of page

window.scrollTo(0, 0);
Built with ❤️ by @domnguyen and everyone on the internet 🚀