Pergunta de entrevista da empresa Datadog

How does concurrency work in JavaScript? What is AJAX?