Short-circuit Evaluation | JavaScript

preview_player
Показать описание
Thanks for watching! If you enjoyed this video, subscribe to see more like it. Leave any questions, concerns, or feedback in the comments section below.

Or should I say...
notSubscribed && enjoyedVideo && subscribe()

No links to Gists for this one -- I think you'll survive without it ;)
Рекомендации по теме
Комментарии
Автор

Fantastic explanation! Thank you for this video

BlaBlaBlaInDaHouse
Автор

Great explanation! finnaly I understand the concept of short circuit evaluation is!!
there's a big diffrent if we use AND or OR operator.

pastelwortell
Автор

Hey! no new videos?? it's been more than 6 months

zafarali
Автор

I personnally argue...don't use it, you might write something like f() && g() || h() which i cannot read myself
ps: off topic, but after seeing you doing your videos using vim for so long (i m still using visual code), i d like to have your feedback on it, don't you miss autocompletion, auto import, auto lint etc... ??

lutaseb