javascript 에서 손쉽게 대소문자 변경을 할 수 있다.
string 이라는 문자를 대문자로 바꾸고 싶다면,
let problem = 'string';
//대문자로 변경
const solved = problem.toUpperCase();
console.log(solved);
// 출력: STRING
반대로 소문자로 바꾸고 싶다면,
let problem = 'STRING';
//소문자로 변경
const solved = problem.toLowerCase();
console.log(solved);
// 출력: string