On Fri, Oct 8, 2010 at 1:33 PM, Filipe David Manana <[email protected]> wrote:
>>
>> In my opinion, you don't need the === in this case imo == is enough
>> since we compare 2 values, doesn't it ?
>
> Do you see any issue with it?
> Afaik, the use of === and !== are standard best practices (recommended
> by Crockford).
> But yes, for this case, use of == and === is the same.
>

No issue with it. Just a *minor* detail I wanted to tell you.

I like to use the right operator, when needed.  Here "==" was enough,
so why not just using it. I understand your argument anyway, so no
issue *at all*.

- benoit

Reply via email to