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 |
Tags
- JavaScript
- XMLHttpRequest with promise
- 코어자바스크립트 정리
- cloudflare DNS
- 로스트아크 open API
- docker compose setting
- cloudflare Origin Server
- 코어자바스크립트
- dockerignore example
- XMLHttpRequest 예제
- cloudflare Origin Server CA
- nodejs mariaDB
- cloudflare
- docker compose example
- Dockerfile setting
- cloudflare ssl
- nodejs DB
- docker image 배포
- docker compose
- Raspberry Pi docker install
- XMLHttpRequest example
- dockerignore setting
- Raspberry Pi docker-compose install
- 코어 자바스크립트
- nodejs myslq2
- Dockerfile example
- 로스트아크 API
- docker
- cloudflare certbot
- docker image deploy
Archives
- Today
- Total
목록2023/04/11 (1)
오늘
코어 자바스크립트 정리 - [6] 프로토타입
자바스크립트는 프로토타입(prototype) 기반 언어. 어떤 객체를 원형으로 삼고 이를 복제함으로써 상속과 비슷한 효과를 얻음. 01 - 프로토타입의 개념 이해 더보기 1) constructor, prototype, instance 어떤 생성자 함수(constructor)를 new 연산자와 함께 호출하면 constructor에서 정의된 내용을 바탕으로 새로운 인스턴스(instance)가 생성됨. 이때 instance에는 __proto__라는 프로퍼티가 자동으로 부여됨. __proto__는 constructor의 prototype 을 참조 prototype 과 __proto__ 는 객체임. 예제) var Person = function (name) { this._name = name; }; Person...
javascript
2023. 4. 11. 18:52