-
-
Save pjnovas/1292867 to your computer and use it in GitHub Desktop.
javascript001
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
var foo = false; // Correcto: asigno a foo el valor literal false | |
false.miPropiedad; // Incorrecto | |
false.miMetodo(); // Incorrecto | |
false = true; // Incorrecto | |
true = "algun texto"; // Incorrecto |
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
var foo = "bar", | |
baz = 'boo', | |
qux = "no necesito hacer un escape para usar ' esta comilla simple"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment