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