String.prototype.replace():取代內容 · <String>. · // 先建立regex · let regex = new RegExp(wordToBeReplaced, 'gi') · let newString = <String>.
確定! 回上一頁