For Loop Inside Array In Javascript Interview Questions