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 |
Tags
- VW
- 이클립스 소스 비교 안보일 때
- Adobe
- Sass
- java
- 이클립스
- gulp
- ref
- 자바스크립트
- Study
- 정적웹사이트
- npm
- ref전달하기
- Eclipse Bug
- Eclipse Compare View
- html
- 보일러플레이트
- frontend
- error
- css
- React
- CSS3
- JavaScript
- next.js
- tomcat
- TaskRunner
- SSR
- Eclipse
- animation
- 1분코딩
Archives
- Today
- Total
목록null타입체크 (1)
프론트 개발 블로그
자바스크립트에서 타입을 체크하는 방법 typeof
typeof typeof 연산자는 피연산자의 평가 전 자료형을 나타내는 문자열을 반환한다. console.log(typeof 42); // output: 'number' console.log(typeof 'text'); // output: 'string' console.log(typeof true); // output: 'boolean console.log(typeof undeclaredVariable); // output: 'undefined' console.log(typeof {a:1}); // output: 'object' console.log(typeof [1,2,3]); // output: 'obejct' console.log(typeof function() {}); // output: 'fun..
Javascript
2021. 9. 28. 17:33