0
Of course, each line is printing the evaluation from the boolean expression that is being passed. Instead of evaluating true or false as in most cases, these three lines of code are searching for truthiness.
Here is the quick and dirty explanation-
The first line will print out '1' because it can be converted to truthy.
Line 2 will print out '2' because it can be converted to truthy.
Line 3 will print out '1' because zero is converted to falsy and '1' can be converted to truthy.
Seriously... I'll let the links below do the deep dive explanation.
http://adripofjavascript.com/blog/drips/truthy-and-falsy-values-in-javascript.html
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_Operators



