ServiceNow interview question

Angularjs,basic javascript