Find Max and Min in an Array

homework
javascript

#1

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?


#2

Try reading this.