Accenture interview question

Basic js and angular related questions