Skip to content

Commit e39159a

Browse files
committed
Solve: 2번 문제 해결
1 parent 8315933 commit e39159a

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# 문제2 : 배열의 내장함수
2+
3+
<pass>부분에 배열 내장함수를 이용하여 코드를 입력하고 다음과 같이 출력되게 하세요.
4+
5+
데이터
6+
var arr = [200, 100, 300];
7+
//pass
8+
console.log(arr);
9+
10+
출력
11+
[200, 100, 10000, 300]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// # 문제2 : 배열의 내장함수
2+
3+
// <pass>부분에 배열 내장함수를 이용하여 코드를 입력하고 다음과 같이 출력되게 하세요.
4+
5+
// 데이터
6+
var arr = [200, 100, 300];
7+
8+
arr.splice(2, 0, 10000)
9+
10+
console.log(arr);
11+
12+
// 출력
13+
// [200, 100, 10000, 300]

0 commit comments

Comments
 (0)