Ra Posted December 14, 2010 Report Share Posted December 14, 2010 Tips & Tricks Link to comment Share on other sites More sharing options...
GreenSkin Posted April 13, 2014 Report Share Posted April 13, 2014 Uno Cortito:JavaScript: En javaScript existen dos tipos de comparaciones el "es igual"(==) y el "mandatory igual" (===)Ejemplo: var a = 77;var b = 77;var c = '77';var d = null; (a==b) //Esto es verdadero 77==77(a==c) //Esto es verdadero 77=='77'(a===c) //Esto es falso 77==='77'(d==x) //Esto es verdadero aunque x sea 'undefined' null==undefined(d===xb) //Esto es falso null===undefined Asi que cuidadito con su codigo los weoncitos Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now