HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
📝
프론트엔드 스쿨 교안(1기)
/
📝
(코테준비) 자료구조 및 알고리즘
/
✌
JS 100제 - 2권
/
🔥
문제63
/
✔️
답안
✔️

답안

const user_input = prompt('문자열을 입력하세요').split(' '); let result = ''; for (let s of user_input){ result += s.slice(0, 1); } console.log(result);