像這樣,程式就會一路綠燈開到底了,除非你中間插入 break 語法。 但「適當地」利用 break 語法的話,你也可以這樣做: var month = 1; switch ( month ){ ...
確定! 回上一頁