JavaScript incorporó funciones para que coincidan con la palabra y return boolean

String.prototype.isMatch = function(s){
   return this.match(s)!==null 
}
Anxious Anteater