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

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -