為返回多行語句(例如物件字面表示式),則需要使用()包圍函式體。 function calcCircumference(diameter) { return Math.PI * diameter } var ...
確定! 回上一頁