제시된 문제는
function solution(phone_number) {
let answer = '';
for (let i = 0; i < phone_number.length; i++) {
if (i < phone_number.length - 4) {
answer += '*';
} else {
answer += phone_number[i];
}
}
return answer;
}