Cool :)
thanks
I just follow jslint and Crockford strictly, it's a personnal preference.
On Fri, Oct 8, 2010 at 1:18 PM, Benoit Chesneau <bchesneau@gmail.com> wrote:
> On Fri, Oct 8, 2010 at 2:15 PM, Benoit Chesneau <bchesneau@gmail.com> wrote:
>> On Fri, Oct 8, 2010 at 1:33 PM, Filipe David Manana <fdmanana@apache.org> 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.
>>
> /tell/discuss with
>
--
Filipe David Manana,
fdmanana@gmail.com, fdmanana@apache.org
"Reasonable men adapt themselves to the world.
Unreasonable men adapt the world to themselves.
That's why all progress depends on unreasonable men."
|