Pergunta de entrevista da empresa Territory Foods

How does the JS event loop work?