time-to-botec/squiggle/node_modules/@stdlib/constants/path/sep/docs/repl.txt

21 lines
353 B
Plaintext
Raw Normal View History

{{alias}}
Platform-specific path segment separator.
Examples
--------
> {{alias}}
<string>
// Windows environment:
> var parts = 'foo\\bar\\baz'.split( {{alias}} )
[ 'foo', 'bar', 'baz' ]
// POSIX environment:
> parts = 'foo/bar/baz'.split( {{alias}} )
[ 'foo', 'bar', 'baz' ]
See Also
--------