How to capitalize words in a string using JavaScript? Answer: function capitalizeWords(str) { return str.replace(/\b\w/g, l => l.
確定! 回上一頁