Question d’entretien chez Apple

How does javascript simulate parallelism?