Jose Borja - javascript diagnostics

I tried to limit google to a minimum. Things that I already had an idea but needed some help with the syntax for example:

- isNaN(num)

instead of:

- num == NaN