ServiceNow interview question

Basic Java and JavaScript for beginners