Veja Resolução do nome do caminho
A pathname consisting of a single slash shall resolve to the root directory of the process. A null pathname shall not be successfully resolved. A pathname that begins with two successive slashes may be interpreted in an implementation-defined manner, although more than two leading slashes shall be treated as a single slash.
A maioria das implementações simplesmente trata //
como /
, mas ainda pode mostrar //
.