X-Received: by 10.224.10.6 with SMTP id n6mr11331012qan.4.1367502382570; Thu, 02 May 2013 06:46:22 -0700 (PDT) X-Received: by 10.49.109.200 with SMTP id hu8mr505206qeb.31.1367502382455; Thu, 02 May 2013 06:46:22 -0700 (PDT) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!m7no314803qam.0!news-out.google.com!y6ni0qax.0!nntp.google.com!m7no314795qam.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.javascript Date: Thu, 2 May 2013 06:46:22 -0700 (PDT) In-Reply-To: <2031344.OscmL0gD8O@PointedEars.de> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=94.227.146.174; posting-account=DOKj1gkAAAC7ll60oTpinRGSlJa6g5IL NNTP-Posting-Host: 94.227.146.174 References: <0073691b-8f9e-4b11-9431-7759339ed68b@googlegroups.com> <5064953.7cZPh7B9jv@PointedEars.de> <2031344.OscmL0gD8O@PointedEars.de> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <074e980c-def0-455e-a4ee-8564bf614ee9@googlegroups.com> Subject: Re: About extracting the right format from Date From: Bart Van der Donck Injection-Date: Thu, 02 May 2013 13:46:22 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.lang.javascript:19581 Thomas 'PointedEars' Lahn wrote: > Bart Van der Donck wrote: > >> Thomas 'PointedEars' Lahn wrote: >> >>> Unfortunately, although that approach is quite elegant, >>> calling String.prototype.slice() with negative arguments >>> is not interoperable. >> >> >> There is no problem whatsoever to use 'slice()' with a >> negative number. > > None that you are aware of. I can't find any evidence why 'slice()' with a negative index would be problematic. Care to backup your claim ? -- Bart