JavaScript入門
関数
return指定がなければundefinedが戻り値
return指定がなければundefinedが戻り値
function 関数(仮引数) { 仮引数 } const 戻り値 = 関数(123) console.log(戻り値) // undefined