반응형
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
- Python
- Excel
- Tkinter
- GIT
- Apache
- Java
- 파이썬
- Google Excel
- string
- matplotlib
- PySpark
- django
- dataframe
- Presto
- list
- Redshift
- c#
- array
- SQL
- PostgreSQL
- PANDAS
- hive
- gas
- google apps script
- Google Spreadsheet
- numpy
- Github
- Kotlin
- math
Archives
- Today
- Total
목록overwrite (1)
달나라 노트
Google Apps Script : method overwrite, method overriding, method 변경, method 덮어씌우기
Class를 어떤 변수에 할당하여 인스턴스화했을 때 이 객체는 Class가 가진 method와 동일한 기능을 가지는 method를 호출할 수 있게 됩니다. 근데 만약에 객체에서 method의 내용을 변경하고싶으면 어떻게해야할까요? 예시를 통해 봅시다. 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 myFunction(){ var my_cat = new Cat(name='Kitty', age=5, we..
Google Apps Script
2022. 11. 28. 23:48