function hasLowerCase(str) { return str.toUpperCase() != str; } console.log("HeLLO: ", hasLowerCase("HeLLO")); console.log("HELLO: ", hasLowerCase("HELLO"));