Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我真的不懂Javascript。
在 PHP 中,我可以删除这样的引号:
$tags_array = preg_replace('/"/', '', $tags_array);
我如何用 Javascript 编写它?
str = str.replace(/"/g, '');
你可以用 javascript 做几乎和你用 php 一样的事情,我的意思是很多功能,这里是解决方案:
PHPJS