Coding conventions

Naming and control-statement conventions: Capital functions, camelCase variables, i/len/b prefixes, and a newline before else, catch, and finally.

Functions

Name begins with Capital.

Variables

Name begins with small case.

Indexes

i prefix.

Lengths

len.

Booleans

b.

Control statements

Insert a new line before else.

Insert a new line before catch.

Insert a new line before finally.

Updated: 2026 Aug 19