Pregunta de entrevista de Ixigo.com

How JavaScript works as a single thread?