%% https://mermaid.js.org/syntax/sequenceDiagram.html#styling
%% It would be cool to add sequences to the top from the column names
%%{
init: {
"theme": "base",
"sequence": {
"actorFontFamily": "monospace",Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
- Follow standard conventions.
- Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
- Boy scout rule. Leave the campground cleaner than you found it.
- Always find root cause. Always look for the root cause of a problem.
This document outlines various methods to produce the array [1, 2, 3, 4, 5, 6] in JavaScript, including combining arrays, generating sequences, and literal declarations.
Array literal
[1, 2, 3, 4, 5, 6];Array.of
OlderNewer