Answers for "how to make white spaces in variable js without text"

3

replace white spaces javascript

const name = 'Hi my name is Flavio'
name.replace(/\s/g, '') //HimynameisFlavio
Posted by: Guest on April-27-2020
0

remove all white space from text javascript

.replace(/ /g,'')
Posted by: Guest on July-27-2021

Code answers related to "how to make white spaces in variable js without text"

Code answers related to "Javascript"

Browse Popular Code Answers by Language