replacing each space in a string javascript
const name = 'Hi my name is Flavio'
name.replace(/\s/g, '') //HimynameisFlavio
Are there any code examples left?
New code examples in category Javascript
const name = 'Hi my name is Flavio'
name.replace(/\s/g, '') //HimynameisFlavio