//one way condition x=2 x === 3 && console.log("i am 3"); this will not output because of x equal 2. This is work when correct; if(x===3){ console.log("i am 3") }