Computer scienceBackendNode.jsCore ConceptsInternal modulesPath module

Intro to path module

Compare methods

Report a typo

What are some differences and similarities between the path.join() and path.resolve() methods?

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
___

Create a free account to access the full topic