4 lines
101 B
TypeScript

export function printArgPath(path: string[]): string {
return path.map((e) => `[${e}]`).join("");
}