Wymień element z String JavaScript
var string="hollo"
console.log(string.replace(/o/g,'P'))
//replace o with P
var string="hollo"
console.log(string.replace(/o/g,'P'))
//replace o with P
var string="hollo"
console.log(string.replace(/o/g,'P'))
//replace o with P