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
- 스크롤튐
- 기초문제
- 문자열섞어쓰기
- dynamicroutes
- Slice
- useclient
- approuter
- typescript
- 자바스크립트
- focus 이슈
- nextjs
- 타입스크립트
- iframe스크롤문제
- 문자리스트를문자열로변환하기
- 프론트엔드
- javascript
- generic과any의 차이
- js
- print언패킹
- scrollintoview
- 넥스트
- 프로그래머스
- 리스트초기화
- routegroup
- nextjs라우팅
- 메소드
- 덧셈식출력하기
- 코딩테스트
- front-end
- 문자열곱하기
Archives
목록generic과any의 차이 (1)
Jin's Study

🔎 Polymorphism :여러가지 다양한 형태객체 지향 프로그래밍(OOP)의 개념 중 하나.다양한 형태의 객체를 다룰 수 있는 능력을 의미다양한 타입의 객체들이 공통의 인터페이스를 통해 동일한 방식으로 처리될 수 있다.-> 코드의 유연성과 재사용성을 높일 수 있음.tyoe SuperPrint = { (arr: number[]):void (arr: boolean[]):void (arr: string[]):void (arr: (number|boolean)[]):void}const superPrint: SuperPrint = (arr) => { arr.forEach(i => console.log(i)}superPrint([1, 2, 3, 4])superPrint([true, false, ..
Front-end/TypeScript
2024. 8. 6. 13:45