Rudimentary Art of Programming & Development

Promoting Open Source, Always…

Archive for July 10th, 2007

Javascript: == OR ===

without comments

As it is similar to almost many other languages,

== checks the equality of values on both sides.

While === checks the equality of values as well as data type on both sides.

For example:

null == undefined is True, but

null === undefined is False.

Yet another simple and obvious tips to make readers even more awesome in Javascript.

Written by didip

July 10, 2007 at 10:40 pm