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>
This commit is contained in:
parent
5607228099
commit
14b0b4463e
@ -24,7 +24,7 @@ On POSIX:
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
path.basename('C:\\temp\\myfile.html');
|
path.basename('C:\\temp\\myfile.html');
|
||||||
// Returns: 'C:\temp\myfile.html'
|
// Returns: 'C:\\temp\\myfile.html'
|
||||||
```
|
```
|
||||||
|
|
||||||
On Windows:
|
On Windows:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user