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
- mysql if
- ajax 사용 예시
- summary
- angular route
- angular modal
- 스크롤 이벤트
- 앵귤러 애니메이션
- angular button
- scroll
- 앵귤러 모달
- 스크롤 이벤트 감지
- 검색
- Oracle LISTAGG 사용 예시
- 셀렉트박스 커스텀
- ApexChart
- prisma
- 호버
- Angular Router
- 옵저버블
- formgroup
- flex-1
- 아이오닉 스크롤 이벤트
- angular animation
- Ionic modal
- egov spring ajax 사용 예시
- route
- Router
- TAILWIND
- 모달
- modal
Archives
- Today
- Total
목록typescript static 정적 변수 활용 예시 (1)
깜놀하는 해므찌로
typescript static 정적 변수 활용 예시
class Car{ #privat:number = 30; protected protect:string = "protected"; readonly name:string = "Car"; // readonly 수정 불가능 static staticName = "정적 변수"; // color:string; constructor(public readonly color:string, name:string){ this.color = color; this.name = name; // readonly 수정할 수 있도록 생성자에서 처리 } start(){ console.log("start"); console.log(this.#privat); // private console.log(Car.staticName); // sta..
IT
2023. 5. 25. 12:52