Function names can only contain letters, numbers, the dollar sign ($), and underscores (_).
Function names cannot be a JavaScript keyword (e.g., function, return, var, etc.).
Function names cannot start with a number.
Even though uppercase or proper case names technically work, the widely accepted and recommended naming convention is camelCase.
Function names start with a lowercase word.
If the name includes multiple words, the first letter of each subsequent word is capitalized.
Readability: Easier for most JavaScript developers to read and understand quickly.
Consistency: Matches built-in JavaScript methods and common libraries.
Avoids confusion: In some programming languages, all-uppercase names are reserved for constants.
Google Sheets compatibility: Apps Script recognizes custom functions regardless of case, but camelCase is the standard in Google’s documentation and examples.
timestamping
createTimestamps
logUserActivity
calculateFinalScore
generate_report
update$Balance