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
- access control
- 데이터베이스
- 병행제어
- S3
- AWS
- API문서
- rest docs
- 노드
- 되추적
- OS
- NEST
- 인터럽트
- 백트래킹
- node.js
- 컴퓨터보안
- node
- 디비
- DB
- IT
- 자바스크립트
- 보안
- 스프링부트
- ES6
- 컴퓨터
- DATABASE
- 운영체제
- 알고리즘
- 백준
- 컴퓨터 보안
- 탐욕기법
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