Added Array Function, For Loop, Updated Console Log