What are some differences and similarities between the path.join() and path.resolve() methods?
Intro to path module
Compare methods
Report a typo
Choose one or more options for each row
path.join() | path.resolve() | |
|---|---|---|
| takes in a sequence of path parts as arguments | ||
| returns a string | ||
| builds up an absolute path | ||
| works on POSIX only |
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.