Skip to content Skip to sidebar Skip to footer
Showing posts with the label Boolean

Interval Comparison Doesn't Bomb In Js

Why doesn't interval comparison bomb in JavaScript? if(-1 Solution 1: Because JavaScript allow… Read more Interval Comparison Doesn't Bomb In Js

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

Why If([]) Is Validated While [] == False In Javascript?

if([] == false) alert('empty array is false'); alert(+[]) // alert 0 if([]) alert('empt… Read more Why If([]) Is Validated While [] == False In Javascript?