반응형 대소문자 변환1 자바스크립트 javaScript 대소문자 변경 toUpperCase(), toLowerCase() 자바스크립트 javaScript 대소문자 변경 toUpperCase(), toLowerCase() 대문자로 변경은 toUpperCase()를 사용한다. - 사용방법 문자열.toUpperCase(); 예) 1 2 3 4 5 6 7 function toUpperFunction() { var name = "Lim SinGu"; var result = name.toUpperCase(); document.write(result); } cs 결과는 LIM SINGU 소문자로 변경은 toLowerCase()를 사용한다. - 사용방법 문자열.toLowerCase(); 예) 1 2 3 4 5 6 7 function toLowerFunction() { var name = "Lim SinGu"; var result = na.. Programing/JavaScript 2015. 7. 23. 이전 1 다음 💲 추천 글 반응형