Consider the below code:

```
var y = 4;
alert( y>1 || (y++ ===4)) 
alert(y);

```

Here, 'y' alerts 4.
But in the below code:

```
var y = 4;
alert( y>1 && (y++ ===4)) 
alert(y);

```

Here, 'y' alerts 5. 
Why && and || operators are showing two different values of 'y'?