mirror of https://github.com/nodejs/node.git
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
parent
5607228099
commit
14b0b4463e
|
@ -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…
Reference in New Issue