Skip to content Skip to sidebar Skip to footer
Showing posts with the label Logical Operators

One-line If Vs && In Javascript

Is there any meaningful difference between condition && console.log('this may run')… Read more One-line If Vs && In Javascript

Javascript Logical Operators - And Vs. Or

I'm relatively new to Javascript and programming in general. Today while writing a simple tripl… Read more Javascript Logical Operators - And Vs. Or

Does Javascript Have Non-shortcircuiting Boolean Operators?

In JavaScript (f1() || f2()) won't execute f2 if f1 returns true which is usually a good thing… Read more Does Javascript Have Non-shortcircuiting Boolean Operators?