javscript replace all spaces code example
Example: replacing each space in a string javascript
const name = 'Hi my name is Flavio'
name.replace(/\s/g, '') //HimynameisFlavio
const name = 'Hi my name is Flavio'
name.replace(/\s/g, '') //HimynameisFlavio