The new way to do this is:

Object.keys(selectionViews).forEach(function(memberId){
 ...
});