couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filipe David Manana <fdman...@apache.org>
Subject Re: svn commit: r1005513 - /couchdb/trunk/share/www/script/test/bulk_docs.js
Date Fri, 08 Oct 2010 11:33:28 GMT
>
> 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.

>
> - benoît
>



-- 
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."

Mime
View raw message