为什么第二个alert没有反应
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>热身</title>
</head>
<body>
<script type="text/javascript">
function num(eve,event){
num=eve*event
return num}
document.write(num(10,2))
alert(num(20,11));
</script>
</body>
</html>
屏幕上会显示20,但是alert这个不会弹出来