以上是一個函式的宣告與呼叫簡單示範。 函式使用 function 關鍵字來宣告名稱,參數 number 位於括號之中。 於是透過執行 square(2); 來呼叫 square 函式,此時 square ...
確定! 回上一頁