toLowerCase
![[JS] 대문자, 소문자로 변환하기](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdna%2FcEEL7i%2FbtrxXqNaPDq%2FAAAAAAAAAAAAAAAAAAAAAGnJR-e-fOynmKQxb7bO6kWno_ZBSgscRTtuwXI9I3hn%2Fimg.png%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1753973999%26allow_ip%3D%26allow_referer%3D%26signature%3DVo%252BOShWnNvHsYkKFlGaTBVfDfPM%253D)
[JS] 대문자, 소문자로 변환하기
const str = "abcDEF"; // 대문자 const upper = str.toUpperCase(); // ABCDEF // 소문자 const lower = str.toLowerCase(); // abcdef 대문자와 소문자로 변환시키는 메서드는 각 toUpperCase과 toLowerCase입니다. 문자열 -> 대문자는 String.toUpperCase메서드를 사용하며, 문자열 -> 소문자는 String.toLowerCase메서드를 사용하여 변환 할 수 있습니다.