Skip to content

Instantly share code, notes, and snippets.

@pjnovas
Created October 17, 2011 15:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjnovas/1292867 to your computer and use it in GitHub Desktop.
Save pjnovas/1292867 to your computer and use it in GitHub Desktop.
javascript001
var foo = false; // Correcto: asigno a foo el valor literal false
false.miPropiedad; // Incorrecto
false.miMetodo(); // Incorrecto
false = true; // Incorrecto
true = "algun texto"; // Incorrecto
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