On Saturday, 21 December 2013 at 01:42:04 UTC, Ali Çehreli wrote:
That's probably a bug, right? The indexes would probably become off as the array gets shorter.
Note the .reverse there? Which makes sure indices don't get off. Still, that's probably an inefficient way of doing this...