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
- 구조분해할당
- youtube iframe
- 다리놓기
- React
- nvm
- 백준
- 타입스크립트
- JS
- 자바스크립트
- 기초
- iP
- Next.js
- 프로토타입
- Rest
- 커스텀알락
- firebaseui
- mac
- yarn-berry
- 파이썬
- nvmrc
- leetcode189
- 커스텀알림
- react-native
- react-firebaseui
- Spread
- Python
- 리액트
- 파이어베이스로그인
- css
- leetcode977
Archives
- Today
- Total
목록조건문 (1)
JadeCode

조건문 if 비교연산자 >, < , === 등 비교의 결과는 늘 boolean값을 가진다. 자바스크립트에서 == 은 사용하지 않는 편이 좋다. 위와 같이 정확하지 않은 결과가 나온다. 자바스크립트는 다른 언어와 다르게 타입을 변수 선언할 때부터 정의하지 않기 때문에 ==연산자를 사용하면 타입을 엄격하게 비교하지 못하게 때문이다. https://dorey.github.io/JavaScript-Equality-Table/ JS Comparison Table === (negated: !==) When using three equals signs for JavaScript equality testing, everything is as is. Nothing gets converted before being eva..
개발/웹
2022. 4. 27. 20:00