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
- 데이터베이스
- 되추적
- node
- 백트래킹
- 인터럽트
- API문서
- 자바스크립트
- 탐욕기법
- 백준
- 알고리즘
- 운영체제
- node.js
- 보안
- 컴퓨터 보안
- S3
- access control
- IT
- 병행제어
- AWS
- 디비
- OS
- DB
- 스프링부트
- NEST
- 컴퓨터
- DATABASE
- 컴퓨터보안
- 노드
- ES6
- rest docs
Archives
- Today
- Total
목록프로미스 (1)
개발스토리
ES6(3)
클래스 클래스 문법도 추가되었다. 하지만 다른 언어처럼 클래스 기반으로 동작하는 것이 아니라 여전히 프로토타입 기반으로 동작한다. 프로토타입 기반 문법을 보기 좋게 클래스로 바꾼 것이라고 이해하면 된다. 다음은 프로토타입 상속 예제 코드이다. var Human = function(type){ this.type = type || 'human'; }; Human.isHuman = function(human){ return human is instanceof Human; } Human.prototype.breathe = function(){ alert('h-a-a-a-m'); }; var Zero = function(type, firstName, lastName){ Human.apply(this, argume..
node.js
2020. 12. 4. 01:44