Page is a not externally linkable
daveVk - 3:28 am on Oct 10, 2012 (gmt 0)
To check all entries in array, pr.splice(i, 1) needs to be pr.splice(i--, 1) ?.
If you remove say pr[3], what was pr[4] becomes pr[3] and index should not be incremented.