第一個字母大寫,後面都小寫。
Last updated 2 years ago
Was this helpful?
⟩ ⟩ ⟩
// ⭐️ string.capitalize() // 第一個字母大寫 String.prototype.capitalize = function() { return this.charAt(0).toUpperCase() + this.slice(1).toLowerCase(); };
String ⟩
- dataset