function compress(string) {
    return string
      .split("")
      .filter(char => !isWhiteSpace(char) && !isPunct(char))
      .join("");
}
/* strip punctuation and spaces from @param string */
strip punctuation and spaces from @param string
strip punctuation and spaces from @param string
function compress(string) {
    return string
      .split("")
      .filter(char => !isWhiteSpace(char) && !isPunct(char))
      .join("");
}
function compress ( string ) { return string . split ( "" ) . filter ( char => ! isWhiteSpace ( char ) && ! isPunct ( char ) ) . join ( "" ) ; }
strip punctuation and spaces from @param string
strip punctuation and spaces from @param string