Image Source:Google You heard of OR logic gate? Well || operator is like that only. If any of the two inputs is true (which are being compared at a specific point in time) it will short circuit there and won't execute further. true||console.log("...