operators - Why is it a bad idea to allow these in JavaScript == , != , ++ , -- -


I was checking out, and some rules rejected my interest. Especially this:

reject == more! =

Reject ++ and -

Why is it a bad idea to not allow these? I understand the first part, basically it wants me to do == instead of == . I do not understand why why though. I think the difference between the two, I want to know why this is bad behavior. Sometimes I really want to do this like == so that it evaluates the correct for undefined == zero

I do not understand exactly what I want + 1 = Douglas Crockford (The man who wrote JSLI) tells himself in this video:

But basically (as everyone has mentioned) reason.

Who is watching the video honestly - very interesting and useful.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -