Created
December 10, 2015 04:01
-
-
Save edinsoncs/847cbaad841058550eaa to your computer and use it in GitHub Desktop.
Booleans True and False Javascript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Valores Primitivos Bools True o False*/ | |
//Recordar que si tenemos un objeto false y hacemos una condicional nos dara true ejemplo | |
var bool = function(bol) { | |
var bol = new Boolean(false); | |
if(bol){ | |
return "return true"; | |
} | |
} | |
bool(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment