Max value in array

Hi,

once again a rather simple question the reference isn't telling. How can I get the max value of an array.

public var myarray = [10, 20, 30, 40, 50, 60];
var maximum = max.steps; //didn't work

Regards Marcus