Browse Source

doc: fix typo in code example of 'path' module

PR-URL: https://github.com/nodejs/node/pull/10136
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
v6
pallxk 8 years ago
committed by Luigi Pinca
parent
commit
14b0b4463e
  1. 2
      doc/api/path.md

2
doc/api/path.md

@ -24,7 +24,7 @@ On POSIX:
```js
path.basename('C:\\temp\\myfile.html');
// Returns: 'C:\temp\myfile.html'
// Returns: 'C:\\temp\\myfile.html'
```
On Windows:

Loading…
Cancel
Save