const str = "abcDEF";
// 대문자
const upper = str.toUpperCase();
// ABCDEF
// 소문자
const lower = str.toLowerCase();
// abcdef
대문자와 소문자로 변환시키는 메서드는 각 toUpperCase과 toLowerCase입니다.
문자열 -> 대문자는 String.toUpperCase메서드를 사용하며,
문자열 -> 소문자는 String.toLowerCase메서드를 사용하여 변환 할 수 있습니다.