- Adhere to English rules (grammar, spelling,...)
- Variable name must be self-explanatory and describe the stored value.
- Variable name must be nouns.
- Function name must be verbs.
- Using
camelCase
for identifier names (for both variable and function) - Private variables must have
#
prefix from the ES2022. However, while ES2021 or less, TS will useWeakMap
in place of#
so using TSprivate
and_
prefix combination instead.