-
Notifications
You must be signed in to change notification settings - Fork 0
path.Variable.joinHttpPath
github-actions[bot] edited this page Jun 8, 2026
·
2 revisions
@zenstone/ts-utils / path / joinHttpPath
joinHttpPath: (...
paths) =>string
Defined in: src/path.ts:116
连接多个路径,当 '..' 超过最大路径时(顶部)时,会保留下来。
console.log(joinHttpPath('a', 'b', 'c', '../../../../../..', 'd', '../../..', 'e'));
// => '../../../../../e'...PathInput[]
输入的路径
string
连接后的路径