Pregunta de entrevista de Infosys

How Java script works behind the screens?