Path: csiph.com!usenet.pasdenom.info!aioe.org!newsfeed1.swip.net!uio.no!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <1697171.AecsYaxG3A@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Fri, 31 May 2013 18:16:48 +0200 User-Agent: KNode/4.10.2 Content-Transfer-Encoding: 8Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. <5260436.L7RB4VL119@PointedEars.de> <025995e5-77c4-42e0-9c2d-60607ed970e9@2g2000yqr.googlegroups.com> <1555585.2FmMX7gGKq@PointedEars.de> MIME-Version: 1.0 Lines: 17 NNTP-Posting-Date: 31 May 2013 18:16:48 CEST NNTP-Posting-Host: 7c97fa04.newsspool2.arcor-online.net X-Trace: DXC=dABU`[XiSg6NTD55K=A9EHlD;3Yc24Fo<]lROoR18kF>DZm8W4\YJN One might think that this is a case special to ECMAScript implementations > because of the overloaded “+” operator. There is a sort of implicit > precedence here: > > "" + 0 + 1 ≡ ("" + 0) + 1 ≡ "0" + 1 ≡ "01" > 1 + 0 + "" ≡ (1 + 0) + "" ≡ "1" + 1 ≡ "1" Correction: 1 + 0 + "" ≡ (1 + 0) + "" ≡ 1 + "" ≡ "1" > [but …] -- PointedEars