Question d’entretien chez Ixigo.com

How JavaScript works as a single thread?