Skip to content

Commit 3e0c123

Browse files
committed
문자열 뒤집기(기초)
1 parent 2360efc commit 3e0c123

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

unn04012/stack/string_reversal.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
function solution(my_string) {
2+
return my_string.split('').reverse().join('');
3+
}
4+
5+
console.log(solution('jaron'));

0 commit comments

Comments
 (0)