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

답안

function one(n) { function two(value) { const sq = Math.pow(value, n); return sq; } return two; } const a = one(2); const b = one(3); const c = one(4); console.log(a(10)); console.log(b(10)); console.log(c(10));