Walkthrough Short Circuit Evaluation in JavaScript with Simple Examples | Level Up Your JavaScript

preview_player
Показать описание
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.

I walk through the following features in JavaScript to create a few examples of short-circuiting:
- Logical AND &&
- Logical OR ||
- break
- every()
- some()

✨ 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.
Рекомендации по теме
Комментарии
Автор

your tutorials are some of the best I've seen on JavaScript! Please keep creating!

MayaBello
Автор

From Twitter I found your channel and i must say your productiom quality is excellent. And the content too are well explained.

opeifataiwo
Автор

You explained this really well. I'll be checking out more of your videos for sure. Awesome work!

travis
Автор

Ja Ja Ja, I'll never use break; again without grinning and seeing that tuck and roll gag ... so fun. Anyways, in less than an hour I've watched 4 vids and learned several useful things. Really appreciate your work!

QRSTUVWXYZify
Автор

One of your early vids, on preventDefault() was cool. I learned about it out of need, a few years ago when doing quite arcane character replacement in strings being manipulated using keyboard events, all those codes and ... it is impossible to imagine approaching a job like that without preventDefault.

QRSTUVWXYZify
Автор

💯💯💯 I can finally understand someone.
You could feature me in one of videos, I'm good in Js too.

bernard