blog.nitishkumarsingh.com/javascript-best-practices

1. Use === Instead of == The == operator evaluates the two items based upon their value. The === operator evaluates the two items based upon their type and value. you should always use triple equals (===). Example 1 == “1″;  // true 1 == true;  // true 1 === “1″;  // false 1 === true; …


Comments (0)

Sign in to post comments.