toUpperCase () 方法用來將字串中的英文字母都轉成大寫。 語法: str.toUpperCase(). 用法: // 輸出'APPLE' console.log('apple'.toUpperCase());
確定! 回上一頁