Rhapsodist
2020.03.03
Created By Rhapsodist
Rhapsodist

String에 존재하는 모든 문자를 대문자 나 소문자 로 변환 하는 함수들은 다음과 같다.
toUpperCase() 함수를 사용하면 문자열 안의 모든 문자를 대문자 로 변경 가능하다.
const Str = 'abcdEFGH123!@#'
console.log(Str.toUpperCase())
//=> "ABCDEFGH123!@#"toLowerCase() 함수를 사용하면 문자열 안의 모든 문자를 소문자 로 변경 가능하다.
const Str = 'abcdEFGH123!@#'
console.log(Str.toLowerCase())
//=> "abcdefgh123!@#"© 2020, made by Rhapsodist