MCPcopy Create free account
hub / github.com/devin87/Q.js / getPageName

Function getPageName

Q.js:1676–1686  ·  view source on GitHub ↗

* 获取当前页名称 eg: /app.html?id=1#aa => app.html * @param {string} path eg: /app.html?id=1#aa * @param {boolean} keepQueryHash 是否保留查询字符串和Hash字符串,默认为false

(path, keepQueryHash)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected