<SCRIPT language="JavaScript">
function square(x) {
var y = x * x;
return y; // return function result
}
function triple(a) {
var y = x * x;
return y; // return function result
}
document.write("Returned result = " + square(2))
</SCRIPT>
沒有留言:
發佈留言