| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- 다익스트라 #파티 #백준
- React-Query
- react fragment
- Next.js
- donwstream #upstream #origin
- React #Hook rules #Hook 규칙
- 버블링 #갭쳐링 #이벤트 #JS
- #useRef #언제 쓰는데?
- RateLimit
- react #useCallback #react Hook
- DP #c++
- React #controlled component #비제어 컴포넌트 #제어 컴포넌트
- npm #not being able to find a file #npm install Error
- 이친수
- 얕은 복사 #깊은 복사 #shallow copy #deep copy
- rate limit
- 백준 #적록색약
- axios
- html entities
- useState #Hooks
- 백준 #직각삼각형
- JWT #토큰 #refreshToken #accessToken #Token #token #localStorage #sessionStorage
- raect typescript #react #typescript #styled-component
- 코드스테이츠 #알고리즘 #그리디
- 노마드 코더 #타입스크립트 #typescript #class
- React #effect hook #useEffect
- React #리액트 이벤트 주기 #리액트 이벤트
- interceptors
- 빡킹독
- 플로이드 #c++
- Today
- Total
목록2023/02/13 (2)
꿈꾸는 개발자
#4.2 위와 같은 방법으로 public이면서 접근 불가능하게 만들 수 있다 type에 대한 복습: type Food=string; const kimchi:Food="delicious"; type Person={ nickname:string, healthBar:number, } const nico:Person={ nickname:"nico", healthBar:10, } //새로운 것 type Team= "read"|"blue"|"yellow" type Plyaer={ nickname:string, team:Team, } 위와 같이 다양한 방식으로 type을 사용할 수 있다! Interface : type Team= "read"|"blue"|"yellow" interface Plyaer { nicknam..
isOdd 문제 수를 입력받아 홀수인지 여부를 리턴해야 합니다. 입력 인자 1 : num number 타입의 정수 출력 boolean 타입을 리턴해야 합니다. 주의 사항 함수 isOdd는 재귀함수의 형태로 작성합니다. 반복문(for, while) 사용은 금지됩니다. 나눗셈(/), 나머지(%) 연산자 사용은 금지됩니다. 0은 짝수로 간주합니다. 입출력 예시 1 2 3 4 5 let output = isOdd(17); console.log(output); // --> true output = isOdd(-8); console.log(output); // --> false function isOdd(num) { // TODO: 여기에 코드를 작성합니다. if(num===0)return false; if(num..