var x=23;y=13
console.log(  x &&=y);
//since x is a non-zero number, then x will be made 13.
var x =0;
console.log(x &&= 12);
//this will return 0; since x is zero