<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<script>
function getMax(){
var max = arguments[0];
for(var i = 0;i < arguments.length; i++){
if (arguments[i] > max){
max = arguments[i];
}
}
return max;
}
var re = getMax(1,3,444,1233);
console.log(re);
</script>
</head>
<body>
</body>
</html>