+ 6
["Boolean Joke"]; 0 == false, 1 == true; What's this (boy == ??, girl == ??) in your favourite programming language
0 == false, 1 == true; what's the boolean value for: boy == ??, girl == ?? in your favourite programming language?
2 Answers
+ 7
In Javascript:
boy == true || false, girl == true && false
+ 1
boy=NULL, girl=true