JavaScript : String.prototype.replaceAll() not working

Published --