Skip to content

Instantly share code, notes, and snippets.

@pjnovas
Created October 17, 2011 15:30
Show Gist options
  • 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