techfort/LokiJS — pull request #3 by obeliskos (2014-06-22 01:45:15+00:00)
Title: Avoid breaking iterator

Since len is calculated ahead of time, this was causing array bounds violation in iterator. Assuming only one collection by that name... if found, splice and your done.