Skip to content

Commit 8f6c9df

Browse files
committed
solve: 문자열의 뒤의 n글자
1 parent fd8560f commit 8f6c9df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
function solution(my_string, n) {
2+
return my_string.slice(-n);
3+
}

0 commit comments

Comments
 (0)