How to use expression with true and false and other values in JavaScript

1 Answer

0 votes
// true && false = false
// true && 1 = 1
// true && "abc" = "abc"
// true && "abc" && 12 = 12
// true && "abc" && 0 = 0
// false && true = false
// true && "abc" && false = false

 



answered Mar 31, 2020 by avibootz
...