반응형
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 |
Tags
- PANDAS
- Github
- Kotlin
- c#
- PostgreSQL
- Apache
- matplotlib
- Java
- Google Excel
- gas
- django
- GIT
- array
- numpy
- Python
- Excel
- 파이썬
- list
- math
- SQL
- PySpark
- google apps script
- Google Spreadsheet
- hive
- Tkinter
- dataframe
- string
- Mac
- Redshift
Archives
- Today
- Total
목록prototype (1)
달나라 노트
Google Apps Script : prototype, prototype method
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