Forum Discussion
PhilMayor
2 years agoSuper Hero
Did you get any errors in the console?
I think this should be:
var newName = str.slice(0).toUpperCase() + str.slice(1);
Did you get any errors in the console?
I think this should be:
var newName = str.slice(0).toUpperCase() + str.slice(1);