Pergunta de entrevista da empresa Experian

How to resolve javascript and Java functions