Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Provide a Default Value with the OR operator in JavaScript


    In this lesson you will learn what what is short circuiting in JavaScript. After we will go straight to one of the most popular use cases of it - providing a default fallback values for potentially not defined returns.