Swarm413
V2EX  ›  问与答

新手求助帖

  •  
  •   Swarm413 · Jun 17, 2020 · 820 views
    This topic created in 2270 days ago, the information mentioned may be changed or developed.

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

    <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,"")) 换成这个就没问题

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4984 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 05:44 · PVG 13:44 · LAX 22:44 · JFK 01:44
    ♥ Do have faith in what you're doing.