+ 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?
3 Réponses
+ 7
In Javascript:
boy == true || false, girl == true && false
+ 1
boy=NULL, girl=true