tag:blogger.com,1999:blog-34454975.post3726664925593518896..comments2023-06-28T16:58:41.189+02:00Comments on Web Reflection: A fast Array slice for every browserAndrea Giammarchihttp://www.blogger.com/profile/16277820774810688474noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-34454975.post-37486027718932484842010-08-30T13:05:53.347+02:002010-08-30T13:05:53.347+02:00holidays man, I'll check ASAP and thanks for t...holidays man, I'll check ASAP and thanks for the hint ;)Andrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-25389375074767838562010-08-30T08:50:04.549+02:002010-08-30T08:50:04.549+02:00No reply ?No reply ?a.in.the.k (@ainthek)https://www.blogger.com/profile/09679088403085703700noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-66504482558298790992010-08-03T19:41:17.717+02:002010-08-03T19:41:17.717+02:00IMHO:the copy loop is broken, does not work for ne...IMHO:the copy loop is broken, does not work for negative begin and end params<br /><br />the same code is in your ArrayObject as well, so please fix both<br />TC:<br /><br />6,0 //zero is bug 5, 6-1 should be result <br />3,2<br /><br />var ao = document.getElementsByTagName("*");<br /> alert($slice.call(ao).length);<br /> alert($slice.call(ao, 0, -1).length);<br /><br /> var a = [1, 2, 3];<br /> alert($slice.call(a).length);<br /> alert($slice.call(a, 0, -1).length);a.in.the.k (@ainthek)https://www.blogger.com/profile/09679088403085703700noreply@blogger.com