Control Flow in JavaScript: If, Else, and Switch Explained
In real life we need to take decision according to current and future circumstances that will come, similarly a program what we code needs to take decision accordingly, so is taken from control flow.
control-flow-if-ifelse-switch.hashnode.dev2 min read