Domanda di colloquio di Ixigo.com

How JavaScript works as a single thread?