Short Circuit evaluation is a technique in programming that allows for the process of evaluating logical expressions (statements that include && and ||) to be completed faster. This is done by not having to check all arguments in the expression.
🎬 Subscribe to the channel! - / @ijemmaonwuzulike
✨ Level Up Your JavaScript playlist - • JavaScript Bites
I walk through the following features in JavaScript to create a few examples of short-circuiting:
Logical AND &&
Logical OR ||
break
every()
some()
🐦 Twitter - / ijemmaohno
🎵 Music from LAKEY: / lakeyinspired
🎵 StreamBeats by Harris Heller - / @streambeatsbyharrisheller
✨ Who I am:
I'm Ijemma, a frontend software engineer currently working in New York City. I make videos on all things JavaScript and, more broadly, frontend web development.