986 Views
The final part of a three part JS Interview Question series. A: This might be easier to look at in code first: Basically the && operator (read as Logical AND) finds the first falsy value in the expression and returns it. If it does not find a falsy value it will return the last value in the expression.
0 comments