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 | 29 | 30 | 31 |
Tags
- wai-aria
- 번들링
- 시맨틱요소
- git
- 피터 모빌
- JavaScript
- 스테이츠코드
- Study
- 고차함수
- Cmarket
- React
- css
- jsx
- html
- 벌집 모형
- Lifting state
- css animation
- 제이콥 닐슨
- BFS와 DFS
- prototype
- props drilling
- 피터 모빌의 벌집 모형
- State
- 컴퓨터 공학
- WEB
- fetch api
- 텍스트 요소
- 프로그래머스
- Effect Hook
- 스테이츠코드42기
Archives
- Today
- Total
목록전체 글 (145)
roqkf

typeof === 특정 값의 타입을 모를 때 사용하는 연산자 typeof 값; console.log(typeof 1) console.log(typeof 'hello') console.log(typeof (0 !== 1) 다음 코드식 실행 결과 사진 왼쪽 상단 결과가 출력됨을 확인할 수 있다. 그렇다면 할당된 변수의 타입을 알아볼 수도 있을까? 실행해 보자! let hi = 123; // 변수 선언과 할당 console.log(typeof hi) // console 창에서 출력 let hello = '123'; // 변수 선언과 할당 console.log(typeof hello) // console 창에서 출력 위 식의 결과로 알맞는 타입의 결과가 나왔다!
💻 Development/JavaScript
2022. 10. 21. 10:59