Update arr.js
Checking sets instead of arrays
Revert "Checking sets instead of arrays"

This reverts commit 4cc97f2fa3d29de3ccb1b1234e3b35c6c8378565.
Using expectEqualSets
Remove unused function
Removed seed parameter
mapPotential respects potentialPct