dimanche 4 janvier 2015

javascript split string selected text replace

Hello javascript split selected text replace?



var words = "Red,Blue,Yellow";
words.replace('Blue','White') == "White";
console.log(words);


not working


result: Red,White,Yellow





Aucun commentaire:

Enregistrer un commentaire