Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!uucp.gnuu.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="ISO-8859-1" Message-ID: <1596269.Jb2yfOpZAA@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Sun, 29 Dec 2013 17:25:26 +0100 User-Agent: KNode/4.11.3 Content-Transfer-Encoding: 7Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. <1368da15-53d4-457c-9ee1-3e9f90b677d2@googlegroups.com> MIME-Version: 1.0 Lines: 17 NNTP-Posting-Date: 29 Dec 2013 17:25:27 CET NNTP-Posting-Host: 2be31b47.newsspool1.arcor-online.net X-Trace: DXC=UbO0:mCQhndg`45cDR8l?oic==]BZ:afn4Fo<]lROoRankgeX?EC@@`gVYO=MmT0fjDZm8W4\YJNl[V>E On Sat, 28 Dec 2013 16:00:46 -0200, Joao Rodrigues wrote: >> According to Douglas Crockford's book (JavaScript: The Good Parts), the >> comma operator should be used only inside for statements > > If I might suggest another use of the comma: > > var a=2, b=6, c="fred", d={'time':0,amount:'0','items':[]}; Those are commas, but not comma operators. -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.