function compare_strings(result, phrase)
{
    var result_punctuationless = compress(result).toUpperCase();
    var phrase_punctuationless = compress(phrase).toUpperCase();

      // console.log("result punctuationless: " + result_punctuationless);
      // console.log("phrase punctuationless: " + phrase_punctuationless);
      return (result_punctuationless === phrase_punctuationless);
}
/* checks if result, phrase are the same */
checks if result, phrase are the same
checks if result phrase are the same
function compare_strings(result, phrase)
{
    var result_punctuationless = compress(result).toUpperCase();
    var phrase_punctuationless = compress(phrase).toUpperCase();
      return (result_punctuationless === phrase_punctuationless);
}
function compare_strings ( result , phrase ) { var result_punctuationless = compress ( result ) . toUpperCase ( ) ; var phrase_punctuationless = compress ( phrase ) . toUpperCase ( ) ; return ( result_punctuationless === phrase_punctuationless ) ; }
checks if result, phrase are the same
checks if result phrase are the same
// console.log("result punctuationless: " + result_punctuationless); // console.log("phrase punctuationless: " + phrase_punctuationless);