Pergunta de entrevista da empresa EchoLogyx

How javascipt deals with async functions despite being single threaded.