Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.weisnix.org!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="ISO-8859-1" Message-ID: <2044280.TLztzPaiTZ@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Mon, 14 Nov 2011 18:27:03 +0100 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 7Bit Subject: Re: Difference between findPos("divThis") and findPos(divThis) Newsgroups: comp.lang.javascript References: <4775241.ypaU67uLZW@PointedEars.de> <2394720.ArG6xLiZAS@PointedEars.de> <4ec07ef1$0$28711$a8266bb1@newsreader.readnews.com> <4775188.ypaU67uLZW@PointedEars.de> Followup-To: comp.lang.javascript MIME-Version: 1.0 Lines: 21 NNTP-Posting-Date: 14 Nov 2011 18:27:04 CET NNTP-Posting-Host: f42190af.newsspool3.arcor-online.net X-Trace: DXC=OhKLTO0OPe<_A0jCfgHO6>McF=Q^Z^V384Fo<]lROoR18kF]g3QkX_`4LZWC>7EAfj1 X-Complaints-To: usenet-abuse@arcor.de Xref: x330-a1.tempe.blueboxinc.net comp.lang.javascript:8328 John G Harris wrote: > Thomas 'PointedEars' Lahn wrote: >> J.R. wrote: >>> - there's a single place to look for all the local variables needed by >>> the function; >> The comma operator does not help with this. > > It's not the comma *operator* here; that can only separate expressions. > The commas here are just part of the syntax of a variable declaration > list. ACK, thanks. PointedEars -- var bugRiddenCrashPronePieceOfJunk = ( navigator.userAgent.indexOf('MSIE 5') != -1 && navigator.userAgent.indexOf('Mac') != -1 ) // Plone, register_function.js:16