반응형
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
- django
- Python
- PostgreSQL
- gas
- GIT
- list
- hive
- matplotlib
- dataframe
- Excel
- Tkinter
- numpy
- string
- Apache
- Kotlin
- math
- SQL
- Redshift
- Mac
- array
- Java
- google apps script
- Github
- PANDAS
- c#
- PySpark
- Google Spreadsheet
- Google Excel
- 파이썬
Archives
- Today
- Total
목록정적 속성 (1)
달나라 노트
Google Apps Script : static attribute, static method, static member, 정적 속성, 정적 메서드, 정적 멤버
보통 class에 있는 attribute나 method는 다른 객체로 만든 채로 사용할 수 있습니다. class 자체로부터 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, weight=4.5, color='white'); my_cat.sound(); } -- R..
Google Apps Script
2022. 11. 29. 00:06