<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<script>
function show(a) {
return '脫了馬甲的烏龜'
}
show('烏龜');
function toDouble(num) {
return num * 2;
}
toDouble(1);
function rnd(m,n) {
return m + Math.random() * (n - m);
}
alert(rnd(5, 15))
</script>
</head>
<body>
</body>
</html>
運行結果