diff --git a/1-js/03-code-quality/02-coding-style/code-style.svg b/1-js/03-code-quality/02-coding-style/code-style.svg index 12a755c97..ecf144ea2 100644 --- a/1-js/03-code-quality/02-coding-style/code-style.svg +++ b/1-js/03-code-quality/02-coding-style/code-style.svg @@ -1 +1,92 @@ -2No space between the function name and parentheses between the parentheses and the parameterIndentation 2 spacesA space after for/if/while…} else { without a line breakSpaces around a nested callAn empty line between logical blocksLines are not very longA semicolon ; is mandatorySpaces around operatorsCurly brace { on the same line, after a spaceA space between argumentsA space between parameters \ No newline at end of file + + + + + + + + + + + + + + + 2 + + + + + + Без відступів + між іменем функції і дужками + між дужками і параметром + + + + Відступ + 2 інтервали + + + + Відступ + після for/if/while… + + + + } else { без розриву рядка + + + + Відступи між внутрішніми викликами функцій + + + + Порожній рядок + між логічними блоками + + + + Рядки не є надто довгими + + + + Крапка з комою ; + є обов'язковими + + + + Відступ + між операторами + + + + Фігурні дужки { + в тому ж рядку, після відступу + + + + + Відступ + між + аргументами + + + + Відступ між параметрами + + + + + \ No newline at end of file