0
Help me pull out the first letters to get CSS.
function acronym(CSS) { CSS.replace(/\s\w/g, el => el.toUpperCase() return el); } console.log(acronym(" cascading style sheets "))
1 Antwort
function acronym(CSS) { CSS.replace(/\s\w/g, el => el.toUpperCase() return el); } console.log(acronym(" cascading style sheets "))