Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: Remove leading zeros in index of array Date: Tue, 24 Mar 2015 20:21:28 +0100 Organization: PointedEars Software (PES) Lines: 22 Message-ID: <1518239.EFQcgAjVos@PointedEars.de> References: <2c9d128f-2237-4484-bbbe-2020864ec72a@googlegroups.com> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: solani.org 1427224990 21143 eJwFwQkBACAIA8BKCuNZHFToH8E7U99+A24OG5s9CdbDYt3RUC4KUyfyKIIm2dPSL+rp6cYHEK0RIw== (24 Mar 2015 19:23:10 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Tue, 24 Mar 2015 19:23:10 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwNyscBwDAIBLCVTDvwOJiy/wiJ3jIBoVxhUFvbeVUPQLMfaVTqtbSKkZPgkLjpwTw0+q+dPjrUTMy2Qj0fWwcVXw== Cancel-Lock: sha1:TD+V8kjBvsAxK1YwaRO9VydyR34= X-NNTP-Posting-Host: eJwNwoERACEIA7CVpKXwjMPps/8IeokYFjs9FK55VplDmJ/J7h4gP7FXwAYnqQHLHm0/xQv+Ww/g Xref: csiph.com comp.lang.javascript:27125 Cezary Tomczyk wrote: > bin = bin.filter(function(element){ > if (element) { > return element; > } > return false; > }); bin = bin.filter(function (e) { return e; }); , step 9.c.iii. , step 11.d.iii. -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not cc me. / Bitte keine Kopien per E-Mail.