티스토리 뷰
반응형
- 문법
function 부모클래스(){
this.프로퍼티= 값;
}
부모클래스.prototype.메서드= function(){}
function 자식클래스(){}
// 상속
자식클래스.prototype = new 부모클래스();
//자식클래스인스턴스생성
var myChild = new 자식클래스();
myChild.메서드();
- 자바스크립트에서부모생성자호출하기
function 자식클래스([param1, param2 ....]){
부모클래스.call(this , [param1,param2...]);
}
반응형
'BackEnd > Node.js' 카테고리의 다른 글
slice(), splice(), split(), subString(), substr() (0) | 2018.07.24 |
---|---|
깊은복사와 얕은복사 (0) | 2018.07.13 |
jquery ajax method 정리 (0) | 2018.07.05 |
javascript 정규식 (0) | 2018.07.03 |
DOM의 주요 기능표 (0) | 2018.06.25 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- jQuery
- 페이스북 로그인
- react
- data table component
- data grid component
- mobx
- python3
- 파이썬
- data component
- JSON
- data component module
- Spring Boot
- JavaScript
- https://www.tistory.com/auth/logout/
- Redux
- angular router
- 파이썬3
- CSS
- JPA
- React-router
- MySQL
- data gird component
- Java
- localStorage
- Angular
- Router
- Python
- Spring
- facebook login
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함