path.join
Better Like path.join
but takes absolute path into account.
path.join
?
What is wrong with built-in It does not produce accurate path when non-first argument is an absolute path.
Usage
APIs
declare
Example
const join = consoleconsole
Output:
relative abc/def/foo/bar
absolute /foo/bar