ServiceNow Interview Question

Angularjs,basic javascript