<!DOCTYPE html>
<html>
<body>
<h1>JavaScript 関数</h1>
<p>計算を実行して結果を返す関数を呼び出します。</p>
<p id="demo"></p>
<script>
let x = myFunction(4, 3);
document.getElementById("demo").innerHTML = x;
function myFunction(a, b) {
return a * b;
}
</script>
</body>
</html>