Suppose I've this variable in JavaScript:
var aString = '00000'
and I want to change the value of the 4th character from '0' to 'b'. I've tried this
aString[3] = 'b'
but aString
doesn't change the value.
How can I do this?
Suppose I've this variable in JavaScript:
var aString = '00000'
and I want to change the value of the 4th character from '0' to 'b'. I've tried this
aString[3] = 'b'
but aString
doesn't change the value.
How can I do this?