Angular Minds interview question

Do all Array program properly