1 line
76 B
JavaScript
1 line
76 B
JavaScript
module.exports = str => str.replace(/\b[a-z]/g, char => char.toUpperCase()); |
module.exports = str => str.replace(/\b[a-z]/g, char => char.toUpperCase()); |