Skip to content

Commit 9b5b444

Browse files
committed
배열 원소의 길이 / 기초
1 parent 12a8cbc commit 9b5b444

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
function solution(strlist) {
2+
var answer = [];
3+
4+
strlist.forEach((string) => answer.push(string.length));
5+
return answer;
6+
}

0 commit comments

Comments
 (0)