Verifique si la cadena contiene JavaScript en minúscula
// A minified version of the other one:
const hasLowerCase= s => s.toUpperCase() != s;
console.log("HeLLO: ", hasLowerCase("HeLLO"));
console.log("HELLO: ", hasLowerCase("HELLO"));
Pandata