Skip to content

Commit

Permalink
문자열 정렬하기 (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
dudwns committed Apr 23, 2023
1 parent 5c1ef85 commit 604d505
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Programmers/exam59.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
function solution(my_string) {
return [...my_string]
.map((s) => s.toLowerCase())
.sort()
.join("");
}

0 comments on commit 604d505

Please sign in to comment.