Javascript String isQuestion()

Description

Javascript String isQuestion()

String.prototype.isQuestion = function() {
  return /^.+\?$/.test(this);
};



PreviousNext

Related