Manipulate sets of js objects using a specified accessor.