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, all helper functions work back to at least IE9.

⏰🦉 Early Bird Sale! A new session of the Vanilla JS Academy starts on February 1. Today and tomorrow, get 40% off the program. Click here to learn more.

The Functions