Semicolons

Verze:

31. 12. 2025

Zodpovědná osoba:

Dominik Šlechta

Statements MUST end with a semicolon.

Statements MUST end with a semicolon.

Example (Correct):

const name = 'John';
const items = [1, 2, 3];

function fetchData() {
    return api.get('/data');
}

Example (Incorrect):

const name = 'John'
const items = [1, 2, 3]