undefined null의 차이
웹 프로그래밍을 하면서 기초지식 중 하나라고 할 수 있는 질문이다. 'undefined null의 차이' undefined -> 자료형(타입)이 결정되지 않은 상태 null -> 변수를 선언하고, 'null'이라는 빈 값을 할당한 경우이다. 데이터를 출력하거나 console로 출력할 때 null이냐 undefined냐 이것만 알아도 변수 선언이 잘 못되었을 경우 금방 알아차릴 수 있다. undefined와 == null(object) // trueundefined와 === null(object) // false 연산자(자료형까지 비교)
BackEnd/Node.js
2018. 5. 28. 10:13
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- data table component
- React-router
- localStorage
- 파이썬3
- MySQL
- Spring
- react
- https://www.tistory.com/auth/logout/
- Java
- data gird component
- JavaScript
- Redux
- JPA
- data component module
- data component
- 파이썬
- JSON
- Python
- Router
- mobx
- facebook login
- Angular
- Spring Boot
- jQuery
- angular router
- python3
- 페이스북 로그인
- CSS
- data grid component
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함