Function: join()
join(…
parts):string
Join path segments using /.
Absolute segments (see isAbsolute) reset the result. Empty segments
and . are skipped. Does not resolve ..; use normalize for that.
Parameters
Section titled “Parameters”…string[]
Returns
Section titled “Returns”string