Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 35160 invoked from network); 8 Oct 2010 12:15:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Oct 2010 12:15:50 -0000 Received: (qmail 49517 invoked by uid 500); 8 Oct 2010 12:15:49 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 49433 invoked by uid 500); 8 Oct 2010 12:15:48 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 49425 invoked by uid 99); 8 Oct 2010 12:15:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Oct 2010 12:15:47 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bchesneau@gmail.com designates 209.85.214.180 as permitted sender) Received: from [209.85.214.180] (HELO mail-iw0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Oct 2010 12:15:39 +0000 Received: by iwn40 with SMTP id 40so1525232iwn.11 for ; Fri, 08 Oct 2010 05:15:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=nik0c4yZcdJF48iBjpXzb3C9cba/ztoH/IUgG0krRgg=; b=txvifmHXfMeBN9Y5uDKKW4+P0mx2oR8UNPrQGtfPPG21W/UsGM1mBbwi2rjWrfa7ZP +ydI0EYtp8tU6Fo59ekDQl1e3Nu6thkCLlGJp9E2YMT9pxAAkWxwTce77J84t6T/4o9I uR8yyByZcBUIcRGTGdUsEaZ6eaO9h1Ug0Wopk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=krR/Vll/f2wD/hB1MmD8XycoY7aI4OPBF6vmj4v/vGdfRjOb5IMeEUB8fR1o5EZjKf 3GvFcpnERu3dJ4MBu+F1liM6R+yvi5DHd+Mnzvvzl2ZFN1V5aOYb3JRet9Gnjf7WawmF vTybH7pOK7cFnmSlPl4V/BGzAW2otMx5cIpek= MIME-Version: 1.0 Received: by 10.231.14.71 with SMTP id f7mr2101819iba.118.1286540116796; Fri, 08 Oct 2010 05:15:16 -0700 (PDT) Received: by 10.231.169.148 with HTTP; Fri, 8 Oct 2010 05:15:16 -0700 (PDT) In-Reply-To: References: <20101007162644.EF41023889DA@eris.apache.org> Date: Fri, 8 Oct 2010 14:15:16 +0200 Message-ID: Subject: Re: svn commit: r1005513 - /couchdb/trunk/share/www/script/test/bulk_docs.js From: Benoit Chesneau To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Oct 8, 2010 at 1:33 PM, Filipe David Manana 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