I don\'t know what I\'m doing wrong; But somehow .toUpperCase() String-function is not working on my browser or do I get something wrong?
.toUpperCase()
var string
String is Immutable. Once created, a string object can not be modified.
So here toUpperCase returns a new string, This should work-
toUpperCase
var string ="kjsdgfiIJHBVSFIU"; var newString = string.toUpperCase(); alert(newString);