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
- ngrok설치
- dart 변수
- typescript react
- SCSS
- CSS
- input type=file
- nextjs
- next.js css
- git lab
- react
- ngrok실행
- fetch
- styled components
- github
- npm styled-reset
- react typescript
- Git
- API token
- icon
- nextjs 설치
- There isn’t anything to compare
- getModifierState
- bootstrap
- react env
- nextjs .env
- rewrites
- github io
- 컨디셔널 렌더링
- createGlobalStyle
- API 토큰
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 |