반응형
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
- Github
- Java
- Python
- hive
- numpy
- GIT
- gas
- array
- PANDAS
- PostgreSQL
- SQL
- google apps script
- Google Spreadsheet
- math
- string
- Tkinter
- Excel
- c#
- 파이썬
- Google Excel
- Apache
- Kotlin
- list
- dataframe
- django
- PySpark
- matplotlib
- Mac
- Redshift
Archives
- Today
- Total
목록static attribute (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