4 lines
169 B
JavaScript
4 lines
169 B
JavaScript
function isLowerCaseAt(str, index) {
|
|
return str.charAt(index).toLowerCase() === str.charAt(index);
|
|
}
|
|
console.log(isLowerCaseAt ('Js STRING EXERCISES', 1)); |