miércoles, 4 de agosto de 2010

24 JavaScript Best Practices for Beginners | Nettuts

24 JavaScript Best Practices for Beginners | Nettuts:

As a follow-up to “30 HTML and CSS Best Practices”, this week, we’ll review JavaScript! Once you’ve reviewed the list, be sure to let us know what little tips you’ve come across!


1. Use === Instead of ==

JavaScript utilizes two different kinds of equality operators: === | !== and == | != It is considered best practice to always use the former set when comparing.

No hay comentarios:

Publicar un comentario

Gracias por tu comentario