일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 클로저
- render phase
- @tailwind base
- 자바스크립트
- 타입스크립트
- unstable_nostore
- SSR
- revalidatetag
- commit phase
- client components
- 프로그래머스
- revalidatepath
- iron-session
- 3진법 뒤집기
- @tailwind utility
- interceptor routes
- 리액트
- sever components
- RECOIL
- js
- image component
- server components
- static pages
- @tailwind components
- supabase realtime
- dynamic pages
- @tailwind
- sever action
- CSS
- createbrowserrouter
Archives
- Today
- Total
목록CodingTest (1)
개발하는 너구리

Q. 숫자인 num을 인자로 넘겨주면, 뒤집은 모양이 num과 똑같은지 여부를 반환해주세요. num: 숫자 return: true or false (뒤집은 모양이 num와 똑같은지 여부) 예를 들어, num = 123 return false => 뒤집은 모양이 321 이기 때문 num = 1221 return true => 뒤집은 모양이 1221 이기 때문 num = -121 return false => 뒤집은 모양이 121- 이기 때문 num = 10 return false => 뒤집은 모양이 01 이기 때문 A. const sameReverse = (num) => { const arr = Array.from(num.toString()); //숫자형식의 num을 toString() 메소드로 문자열로 반..
CodingTest
2022. 12. 3. 03:34