<script>
function func(){
}
func.prototype.max1=function(str){
   alert(str);
}f = new func();
f.max1(Math.max(2,3,4,5,6));</script>