Skip to content

Commit

Permalink
외계행성의 나이
Browse files Browse the repository at this point in the history
  • Loading branch information
dudwns committed Mar 30, 2023
1 parent ed3310b commit 6e78665
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Programmers/exam53.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
function solution(age) {
const alpha = "abcdefghij";
return (age + "")
.split("")
.map((num) => alpha[num])
.join("");
}

0 comments on commit 6e78665

Please sign in to comment.