Help me pull out the first letters to get CSS. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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 "))

15th May 2021, 12:00 PM
Тимур Завьялов
Тимур Завьялов - avatar
1 Answer
15th May 2021, 12:22 PM
Matias
Matias - avatar