Is there some difference between the following invocations?

path.join(__dirname, 'app')

vs.

path.resolve(__dirname, 'app')

Which one should be preferred?

4 Answers
4

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *