How does the event loop prioritize tasks in JavaScript? · Frontend Coach