Pregunta de entrevista de Sigma

Difference between java and JavaScript: