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 <[email protected]> wrote: > On Fri, Oct 8, 2010 at 2:15 PM, Benoit Chesneau <[email protected]> wrote: >> 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. >> > /tell/discuss with > -- Filipe David Manana, [email protected], [email protected] "Reasonable men adapt themselves to the world. Unreasonable men adapt the world to themselves. That's why all progress depends on unreasonable men."
