📜  js 窗口位置相对路径 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:10.846000             🧑  作者: Mango

代码示例2
//To get just the relative path of a window location.

const RELATIVE_PATH = window.location.pathname;