function compress(str) {
    return ((str + '')
      .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(str) {
    return ((str + '')
      .split("")
      .filter(char => !isWhiteSpace(char) && !isPunct(char))
      .join(""));
}
function compress ( str ) { return ( ( str + '' ) . split ( "" ) . filter ( char => ! isWhiteSpace ( char ) && ! isPunct ( char ) ) . join ( "" ) ) ; }
strip punctuation and spaces from @param string
strip punctuation and spaces from @param string