프로그래머스 이상한 문자 만들기 자바스크립트
수도 코딩 문자열을 공백기준으로 자르기 0번 index는 toUpperCase 처리 문자열별로 index % 2 == 1 이면 toLowerCase index % 2 == 0 이면 toUpperCase 공백두고 문자열 세개 다시 합치기 나의 풀이 function solution(s) { var answer = ""; let splitResult = s.split(' '); let temp2 = []; for(let i=0; i
2022.01.20