JS双引号替换单引号

str.replace(/"/g, "'")
原文地址:https://www.cnblogs.com/zecVip/p/5960337.html