Skip to main content Accessibility Feedback

Helper Functions

Helper functions make complicated or repetitive tasks a bit easier, and keep your code DRY (an acronym for Don’t Repeat Yourself).

Unless otherwise noted, these helper functions work in all modern browsers on desktop and mobile. You can extend support back further with polyfills.

🚀 Relaunch Sale! Today through this weekend, get 30% off any vanilla JS pocket guide or bundle. They've been completely updated with new methods and modern JS approaches.

The Functions