幫幫忙找找錯(cuò)誤
<!DOCTYPE? HTML>
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>函數(shù)</title>
<script type="text/javascript">
function max(x,y){
??? if(x>=y){
??????? return x;
??? }
??? else{
??????? return y;
??? }
???
}
?document.write(" 6 和 3 的較大值是:"max(6,3));
</script>
</head>
<body>
</body>
</html>
2019-01-15
document.write(" 6 和 3 的較大值是:"max(6,3));
max前少了個(gè)加號(hào)