如何將分詞轉換爲小寫?我有以下代碼。如何將分詞轉換爲小寫
var title = 'The Quick brown fox';
var titleCase = [];
var Titlewords = title.split("");
for (var i = 0; i < Titlewords.length; i++) {
Titlewords[i].toLowerCase();
console.log(Titlewords[i]);
}
拆我想你必須用'」,「分裂的話'(空間),而不是''「'空字符串 –