• 请不要在回答技术问题时复制粘贴 AI 生成的内容
yantianqi
V2EX  ›  程序员

path.join 和 path.resolve 有什么区别

  •  
  •   yantianqi · Dec 13, 2017 · 2891 views
    This topic created in 3160 days ago, the information mentioned may be changed or developed.

    path.joinpath.resolve有什么区别

    4 replies    2017-12-14 00:17:13 +08:00
    ljcarsenal
        1
    ljcarsenal  
       Dec 13, 2017
    join 能实现 ../ 这样的相对路径?
    terence4444
        2
    terence4444  
       Dec 13, 2017 via iPhone   ❤️ 5
    现在大家都认为自己学的语言天下第一嘛
    ysc3839
        3
    ysc3839  
       Dec 13, 2017
    siteshen
        4
    siteshen  
       Dec 14, 2017
    以后提这种问题出门右拐找 https://www.v2ex.com/go/js,要不就在标题里加上 JavaScript 字样,免得浪费大家时间。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2846 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 13:39 · PVG 21:39 · LAX 06:39 · JFK 09:39
    ♥ Do have faith in what you're doing.