How do I modify the i-th part of a string variable ?
var i = 1
var replace = 'a'
var target = '01234'
// Here's what I think: `target[i] = replace`, but it invalid.
target === '0a234' // expect: true
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
How do I modify the i-th part of a string variable ?
var i = 1
var replace = 'a'
var target = '01234'
// Here's what I think: `target[i] = replace`, but it invalid.
target === '0a234' // expect: true