Function only computing first element of array used as input

a year ago
Anonymous $5YzO3NGzaX