Skip to content

Commit fdfd534

Browse files
authored
Merge pull request #89 from front-studium/Insung-Jo
`week21` 문제 완료
2 parents 77b7607 + cbf29f0 commit fdfd534

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-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.substring(+my_string.length - n);
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
function solution(strlist) {
2+
return strlist.map((str) => str.length);
3+
}

0 commit comments

Comments
 (0)