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.

🚀 A new session of the Vanilla JS Academy starts on October 4. Learn to solve problems and think in JavaScript! Click here to join.

The Functions