Resolves . and .. elements in a path
A path array.
Allow relative paths to continue upstream
normalize(toArray("./folder/../../../../file"), false) // returns []normalize(toArray("./folder/../../../../file"), true) // returns toArray('../../../file') Copy
normalize(toArray("./folder/../../../../file"), false) // returns []normalize(toArray("./folder/../../../../file"), true) // returns toArray('../../../file')
toArray
Resolves . and .. elements in a path