Coforge Interview Question

Basic JavaScript and angular structure.