code: function endsinArr(token, suffixes) {
    var i, longest = '';
    for (i = 0; i < suffixes.length; i++) {
      if (endsin(token, suffixes[i]) && suffixes[i].length > longest.length)
        longest = suffixes[i];
    }
  
    return longest;
  }
docs: Return longest matching suffixes for a token or '' if no suffix match
  @param  {String} token    Word to find matching suffix
  @param  {Array} suffixes  Array of suffixes to test matching
  @return {String}          Longest found matching suffix or ''