js的replace的用法;

obj.replace("需要替换的字符串","替换后的字符串")

坚持下去就能成功
原文地址:https://www.cnblogs.com/suoking/p/5207286.html