A common idiom in JavaScript to differentiate between two possible values is to check for the presence of a ... return ( pet as Fish ). swim !== undefined ;.
確定! 回上一頁