Find Max and Min in an Array

I’m currently working my school assignment. And this is an example of what I got:

var scoreArray = [5, 2, 3, 6, 8, 1, 4];

What function do I use to find max and min inside this array?

Try reading this.

1 Like