function MatchSet(ms) {
  if(_(ms).isObject()) {
    this.set = _(ms.set).map(function(match) {
      return new Match(match);
    });
  } else {
    this.set = [];
  }
}
// Array wrapper with some extra match-y operations
Array wrapper with some extra match-y operations
Array wrapper with some extra match - y operations
function MatchSet(ms) {
  if(_(ms).isObject()) {
    this.set = _(ms.set).map(function(match) {
      return new Match(match);
    });
  } else {
    this.set = [];
  }
}
function MatchSet ( ms ) { if ( _ ( ms ) . isObject ( ) ) { this . set = _ ( ms . set ) . map ( function ( match ) { return new Match ( match ) ; } ) ; } else { this . set = [ ] ; } }
Array wrapper with some extra match-y operations
Array wrapper with some extra match - y operations