<script> function jiaf(a, b) { var he = a + b; document.write(he) return he; } var wallOne = jiaf(5, 3);
</script>
出错原因:少了红色标记的返回操作。
<script> function jiaf(a, b) { var he = a + b; document.write(he) return he; } var wallOne = jiaf(5, 3);
</script>
出错原因:少了红色标记的返回操作。