이미지를 클릭하면 해당 사이트에 갈 수 있습니다.
나의 풀이
function solution(a, b) {
var answer = 0;
let countA = String(a);
let countB = String(b);
if (countA + countB < countB + countA) {
answer = Number(countB + countA);
} else {
answer = Number(countA + countB);
}
return answer;
}