Pergunta de entrevista da empresa Actano

Can you explain how to workaround Javascript being single-threaded?