반응형
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
- array
- string
- django
- dataframe
- gas
- Tkinter
- Apache
- SQL
- google apps script
- Google Excel
- Redshift
- Excel
- Github
- GIT
- hive
- Java
- Kotlin
- PostgreSQL
- Python
- math
- 파이썬
- Presto
- PANDAS
- numpy
- Google Spreadsheet
- list
- c#
- PySpark
- matplotlib
Archives
- Today
- Total
목록prototype (1)
달나라 노트
Prototype method라는 것에 대해 알아봅시다. Class를 생성한 후 이 Class를 어떠한 변수에 할당해서 해당 변수를 객체(인스턴스)로 만듭니다. 이것을 인스턴스화(=객체화)라고 하죠. Class에는 여러 속성이 있을 것이고 method도 있을 것입니다. 인스턴스화 과정에서 Class에 있는 모든 정보는 객체화가 될 대상 변수로 복사되죠. class Cat { constructor(name, age, weight, color) { this.name = name; this.age = age; this.weight = weight; this.color = color; this.species = 'mammal'; } sound() { Logger.log('Moew~'); } } function ..
Google Apps Script
2022. 11. 28. 23:12