Flowchart (ISO 5807)
Source code
JavaScript
function dayName(d) {
switch (d) {
case 1: return "Пн";
case 2: return "Вт";
default: return "?";
}
}The editor opens with this code — change it and the chart redraws.
- Language
- JavaScript
- Constructs
- switch + default
- Topic
- Switch / case
- Formats
- Word, Visio, draw.io, PDF, SVG