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
- 컨디셔널 렌더링
- react typescript
- nextjs .env
- fetch
- dart 변수
- CSS
- nextjs
- git lab
- nextjs 설치
- styled components
- react env
- ngrok실행
- API token
- react
- createGlobalStyle
- bootstrap
- icon
- ngrok설치
- github
- There isn’t anything to compare
- next.js css
- SCSS
- getModifierState
- API 토큰
- input type=file
- rewrites
- typescript react
- npm styled-reset
- github io
- Git
Archives
- Today
- Total
꾸준히 성장하는 개발자
물음표 연산자 , 삼항연산자 , 조건부 연산자 본문
조건문을 사용하게 되면 if문을 사용하게 되는데
이를 좀 더 간단하게 사용할 수 있는 삼항 연산자(피연산자가 3개이기 때문)가 있다
?를 사용하는 조건문
조건 ? 실행문 A : 실행문 B
조건이 참이라면 실행문 A , 거짓이라면 실행문 B가 반환된다
'JavaScript' 카테고리의 다른 글
data type (0) | 2022.02.28 |
---|---|
[JavaScript] 시계 만들기 (0) | 2022.02.28 |
HTMLCollection - > Array로 바꾸기 (0) | 2022.02.23 |
var , let , const (0) | 2021.12.28 |
Youtube iframe API (0) | 2021.12.28 |