基本宣告方式函式本身的型別宣告可能在幾個地方發生,分別是參數跟回傳值: function multiply(value1: number, value2: number): number{ return ...
確定! 回上一頁