본문으로 바로가기
var myArray = [10, 20, 30];
maxValue = Math.max.apply(null, myArray);

maxValue는 30