JS 대소문자 확인 toUpperCase, toLowerCase

str.toUpperCase() //str의 알파벳을 모두 대문자로 변환
str.toLowerCase() //str의 알파벳을 모두 소문자로 변환

'언어 정리 > JavaScript' 카테고리의 다른 글

Math.max(), Math.min()  (0) 2022.11.22
JS 줄바꿈 없이 출력하기 - process.stdout.write  (0) 2022.11.22
JS 형 변환, 진수변환 - Int <=> String  (0) 2022.11.22
Number.isNaN()  (0) 2022.11.16
Number.isInteger()  (0) 2022.11.12