
Even More JavaScript Features You Should Avoid - JSJ 547
JavaScript Jabber
00:00
Short Circuit in in Java Script
Short circuit is also what is done in bullion expressions in jaba script, like c or c plus plass. If you've got a logical and operator, the two up unper cent, then if the left hand side is false or falsey, it never even evaluates the right hand side. So i think me correct the editor felt and avery, short circuit in rit exactly. And i also like this approach for conditionals. It allows me to set and forget. I doand if a statement, i check a particular condition, i handle that condition, and then i unon get out of there,. I don't need to consider that condition any more.
Transcript
Play full episode