Traffic signals : Mastering control flows in javascript
Imagine you are driving through a city, approaching a traffic light.
The light turns RED, so you stop. If it were GREEN, you’d continue driving. If it were YELLOW, you’d slow down and prepare to stop.
nerdyneha.hashnode.dev3 min read