how to check if a string in js has a lowercase letter code example
Example: how to find if given character in a string is uppercase or lowercase in javascript
var str = S;
if (str == str.toUpperCase())
{
console.log(" Uppercase");
}
else
{
console.log("Lowercase");
}