V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Swarm413
V2EX  ›  问与答

新手求助帖

  •  
  •   Swarm413 · 2020-06-17 12:11:39 +08:00 · 413 次点击
    这是一个创建于 1917 天前的主题,其中的信息可能已经有所发展或是发生改变。

    这问题说出来就很尴尬..

    <html> <body> <script type="text/javascript"> var str="Visit M"i"crosoft!" document.write(str.replace(/\"/g,"")) </script> </body> </html>

    上面的代码怎么就无法显示呢,我看也没什么毛病 var str="Visit Microsoft!" document.write(str.replace(/Microsoft/g,"")) 换成这个就没问题

    目前尚无回复
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3270 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 10:55 · PVG 18:55 · LAX 03:55 · JFK 06:55
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.