Provide a Default Value with the OR operator in JavaScript

Share this video with your friends

Send Tweet

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.