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>
pull/9711/merge
pallxk 2016-12-06 13:34:25 +08:00 committed by Luigi Pinca
parent 5607228099
commit 14b0b4463e
1 changed files with 1 additions and 1 deletions

View File

@ -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: