从JavaScript 1.2开始,可以使用一个switch case语句来处理这种情况,而不用重复if…else if语句。本文主要介绍JavaScript switch case语句。
確定! 回上一頁