Ж.
if (character == character.toLowerCase())
{
// The character is lowercase
}
else
{
// The character is uppercase
}
//The problem with this answer is,
//that some characters like numbers or punctuation
//also return true when checked for lowercase/uppercase.
// this is the solution for it:
function isLowerCase(str)
{
return str == str.toLowerCase() && str != str.toUpperCase();
}
Encouraging NeoBliz