Sunday, 1 December 2019

When to use path.relative, path.resolve and path.join? They all seem to be the same to me...

When defining a filepath I choose path.resolve for no particular reason. I feel like I could just as easily use the other two. Why are there these three separate methods, when would you use one over the other?

Submitted December 01, 2019 at 10:58PM by poopduck5

No comments:

Post a Comment