Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 노드교과서
- slice/splice/split
- cmarket
- https://lo-victoria.com/introduction-to-redux-toolkit-for-beginners
- CSS
- 내장고차함수
- User Flow
- @redux-toolkit
- toString#String
- UX
- removeCookie
- react
- 자바스크립트#조건문#문자열
- https://dasima.xyz/%EC%9E%90%EB%B0%94%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8-%EC%A0%9C%EA%B3%B1-math-pow-%EA%B3%84%EC%82%B0/
- for~in/for~of
- https://www.daleseo.com/js-array-slice-splice/
- 자바스크립트#JS#var#let#const#undefined#null
- 자바스크립트
- https://developer-talk.tistory.com/299
- variable#function
- redux상태유지
- JS#3일차달리자#초반인데#시간금방~
- 자바스크립트#JS#slice#splice
- UI
- 헷갈린다~
- Beesbeesbees
- children vs childrenNodes
- js
- ㄷㅌ
- dom
Archives
- Today
- Total
목록자바스크립트#JS#var#let#const#undefined#null (1)
Daily Front_Minhhk

undefined와 null의 차이점 undefined은 변수를 선언하고 값을 할당하지 않은 상태, null은 변수를 선언하고 빈 값을 할당한 상태(빈 객체)이다. 즉, undefined는 자료형이 없는 상태이다. 따라서 typeof를 통해 자료형을 확인해보면 null은 object로, undefined는 undefined가 출력되는 것을 확인할 수 있다. typeof null // 'object' typeof undefined // 'undefined' null === undefined // false null == undefined // true null === null // true null == null // true !null // true isNaN(1 + null) // false isNaN..
Code개발일지
2022. 10. 24. 01:35