I need to loop through an array and find the lowest integer from a range of integers.

Answered

I'm unsure how to perform something.
I receive an array of data from an external API which contains prices. I have no control/fidelity of sort on the array.
I need to identify the lowest price (integer) in the array and display this to my front end.
I'm really unsure how to achieve this, could you help?

1 reply