Javascript String is_uppercase()

Description

Javascript String is_uppercase()


String.prototype.is_uppercase = function(){


return this.valueOf() === this.valueOf().toUpperCase();;
}


var res = "PHhANI".is_uppercase();



PreviousNext

Related