diff --git a/doc/api/path.md b/doc/api/path.md index 36c281b772e1af..607877796c8929 100644 --- a/doc/api/path.md +++ b/doc/api/path.md @@ -53,7 +53,7 @@ On POSIX and Windows: ```js path.posix.basename('/tmp/myfile.html'); -// Returns: 'myfile.html' +// Returns: 'C:\\temp\\myfile.html' ``` On Windows Node.js follows the concept of per-drive working directory.