Computer scienceBackendNode.jsCore ConceptsInternal modulesPath module

Intro to path module

Path methods

Report a typo

What does each path method do?

Match the items from left and right columns
path.extname()
path.dirname()
path.filename()
returns the directory of a path
returns the extension of a file
such method doesn't exist
___

Create a free account to access the full topic