Sigma Interview Question

Difference between java and JavaScript: