🅰️Google Apps Script
a script that is bound to a Google Sheet is called a container-bound script.
專有 classes (如:Sheet, Range ...) 沒有專屬的 prototype❗️
👉 參閱:
prototype 「❓」頁面
custom prototypes for Google Apps Script
Sheet ⟩
getDataRange() - from A1 to the last cell with value.
getLastRow() - index of the last row that has content.
Range ⟩
Guides ⟩
Libraries - script project whose functions can be reused in other scripts.
David Weiss ⟩ Apps Script ⟩
目前不支援 class field,但可用 (static/instance) getter/setter 代替。
Last updated