Question: how to check if string contains uppercase in javascript?
Answer: function upper_case(str) { regexp = /^[A-Z]/; if (regexp. test(str)) { log("String's first character is uppercase"); } else.