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
- select by attribute
- flex-basis
- express-handlebars
- ajax
- 디자인패턴
- close together
- node
- css 오버레이
- Engoo
- 정규표현식
- Object.create
- Express
- flex-grow
- flex-shrink
- css grid
- shit-christmas
- Sass
- css variables
- es6
- img 확대
- Prototype
- flexbox
- css
- regExp
- improve-iq-by-up-to-10%!
- just-one-small-sip
- Node.js
- JS
- 무료 백엔드 배포
- module wrapper function
Archives
- Today
- Total
Number()와 parseInt() 차이 본문
Number
Number("3만"); // NaN
Number("만 3세"); // NaN
Number(null); // 0
Number(undefined); // NaN
Number(" "); // 0
Number(); // 0
parseInt
parseInt("3만"); // 3 (숫자로 시작할 경우에만 적용됨)
parseInt("만 3세"); // NaN
parseInt(null); // NaN
parseInt(undefined); // NaN
parseInt(" "); // NaN
parseInt(); // NaN
'2021 프론트 엔드 로드맵 따라가기 > JS' 카테고리의 다른 글
Hoisting (0) | 2021.06.05 |
---|---|
특정 범위의 랜덤 정수 값 생성 코드 (0) | 2021.06.04 |
Local Storage & Session (0) | 2021.06.01 |
Event Bubbling & Delegation (0) | 2021.05.31 |
Key & Input events (0) | 2021.05.31 |
Comments