Array Function Returning Undefined Value A Bit Confused Youtube

Array Function Returning Undefined Value A Bit Confused Youtube