Skip to content

Commit 08b12f2

Browse files
committed
Fix nit
1 parent cf78d26 commit 08b12f2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/api/path.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,6 @@ path.isAbsolute('bar/baz') // false
270270
path.isAbsolute('.') // false
271271
```
272272

273-
*Note*: On Windows, the `path.isAbsolute()` method will accept both forward
274-
slash (`/`) and backwards slash (`\`) characters as path delimiters.
275-
276273
A [`TypeError`][] is thrown if `path` is not a string.
277274

278275
## path.join([path[, ...]])
@@ -515,6 +512,10 @@ added: v0.11.15
515512
The `path.win32` property provides access to Windows-specific implementations
516513
of the `path` methods.
517514

515+
*Note*: On Windows, both the forward slash (`/`) and backward slash (`\`)
516+
characters are accepted as path delimiters; however, only the backward slash
517+
(`\`) will be used in return values.
518+
518519
[`path.posix`]: #path_path_posix
519520
[`path.win32`]: #path_path_win32
520521
[`path.parse()`]: #path_path_parse_path

0 commit comments

Comments
 (0)