Control Flow in JavaScript: If, Else, and Switch Explained
Control flow means the order in which the program executes statements.
In simple words which line will run next in your code is known as the control flow.
By default programme runs from top to bottom.
javacript-new.hashnode.dev3 min read