In the above example, sum is an arrow function. (x:number, y:number) denotes the parameter types, :number specifies the return type.
確定! 回上一頁