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 ответ
function acronym(CSS) { CSS.replace(/\s\w/g, el => el.toUpperCase() return el); } console.log(acronym(" cascading style sheets "))