lukeshawn
V2EX  ›  问与答

为什么 vscode 上面运行的 script 跟浏览器运行的结果不一样

  •  
  •   lukeshawn · Jan 11, 2019 · 1918 views
    This topic created in 2729 days ago, the information mentioned may be changed or developed.

    比如异或运算, 在浏览器上是可以实现 2 个数互换的, 可是在 vscode 上面写完在浏览器预览实现不了.

    <script> var a = 3; var b = 9; aˆ = b, bˆ = a, aˆ = b console.log(a) </script>
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5495 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 01:20 · PVG 09:20 · LAX 18:20 · JFK 21:20
    ♥ Do have faith in what you're doing.