Skip to content

Commit 19446e6

Browse files
authored
Merge pull request jsk3342#6 from YOOJS1205/main
Feat: 4번 문제 추가
2 parents 838a92d + 3d9e7cb commit 19446e6

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

Problems/4.type(2)/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# 문제4 : 변수의 타입2
2+
3+
다음 변수 a를 typeof(a)로 넣었을 때 출력될 값과의 연결이 알맞지 않은 것은?
4+
5+
1. 입력 : a =1, 출력 : number
6+
2. 입력 : a = 2.22, 출력 : boolean
7+
3. 입력 : a = 'p', 출력 : string
8+
4. 입력 : a = [1, 2, 3], 출력 : object

Problems/4.type(2)/solve.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// # 문제4 : 변수의 타입2
2+
3+
// 다음 변수 a를 typeof(a)로 넣었을 때 출력될 값과의 연결이 알맞지 않은 것은?
4+
5+
// 1) 입력 : a =1, 출력 : number
6+
// 2) 입력 : a = 2.22, 출력 : boolean
7+
// 3) 입력 : a = 'p', 출력 : string
8+
// 4) 입력 : a = [1, 2, 3], 출력 : object

0 commit comments

Comments
 (0)