<script> function calculateArea(width, height) { var area = width * height; return area; } var wallOne = calculateArea(3, 5); var wallTwo = calculateArea(8, 5) document.write(wallOne+‘<br>‘); document.write(wallTwo) </script>
标签:com document return bubuko doc ima htm image function
<script> function calculateArea(width, height) { var area = width * height; return area; } var wallOne = calculateArea(3, 5); var wallTwo = calculateArea(8, 5) document.write(wallOne+‘<br>‘); document.write(wallTwo) </script>
标签:com document return bubuko doc ima htm image function
原文地址:https://www.cnblogs.com/max-hou/p/8733878.html