2. 자료형
1) 문자열(string)
See the Pen Untitled by Eun-yeong Shin (@Rachael_S) on CodePen.
2) 숫자열
See the Pen Untitled by Eun-yeong Shin (@Rachael_S) on CodePen.
3) Boolean
See the Pen Untitled by Eun-yeong Shin (@Rachael_S) on CodePen.
4) null / undefined
* null은 아무 내용이 없다는 뜻
See the Pen Untitled by Eun-yeong Shin (@Rachael_S) on CodePen.
5) typeof 연산자
- 다른 개발자가 작성한 변수의 타입을 알아야 할 때,
- 받아온 데이터를 타입에 따라 다른 방식으로 처리해야 할 때 사용
See the Pen Untitled by Eun-yeong Shin (@Rachael_S) on CodePen.
6) 기타
See the Pen Untitled by Eun-yeong Shin (@Rachael_S) on CodePen.
See the Pen Untitled by Eun-yeong Shin (@Rachael_S) on CodePen.
'예습공부' 카테고리의 다른 글
Java Script 기초 강의 5 - by. 코딩앙마 (0) | 2022.04.11 |
---|---|
Java Script 기초 강의 4 - by. 코딩앙마 (0) | 2022.04.10 |
Java Script 기초 강의 3 - by. 코딩앙마 (0) | 2022.04.10 |
Java Script 기초 강의 1 - by. 코딩앙마 (0) | 2022.04.08 |