str = 'hello world, today is saturday'
str.split(' ').map( i => i[0].toUpperCase()+i.slice(1)
).join(' ')
For further actions, you may consider blocking this person and/or reporting abuse
str = 'hello world, today is saturday'
str.split(' ').map( i => i[0].toUpperCase()+i.slice(1)
).join(' ')
For further actions, you may consider blocking this person and/or reporting abuse
Drew Harris -
Ajul Raj -
Rajesh Dhiman -
Khang Tran -
Top comments (0)