zefhemel/persistencejs — pull request #88 by superquadratic (2012-03-30 06:48:53+00:00)
Title: Fixed arrayRemove() helper function

The function was broken in a way that when it actually removed an item from
the array, it would run over the end of the array, throwing an exception
trying to work with a null element. Fixed by returning directly after
deleting an element. This is OK since the method is only used for arrays
without duplicate elements.

Also added a test case that uses arrayRemove() (indirectly).