File path join /
operator
#1079
Replies: 4 comments
-
Sounds cool and useful! Some issues:
|
Beta Was this translation helpful? Give feedback.
-
@edemaine I think it should wait for #10 if necessary, rather than introduce some other ugly syntax. |
Beta Was this translation helpful? Give feedback.
-
I am a little confused; in current javascript |
Beta Was this translation helpful? Give feedback.
-
TypeScript forbids |
Beta Was this translation helpful? Give feedback.
-
Obviously
/
is the division operator… But what if—without any surrounding spaces—it could join file paths, like thePathname
::/
method in Ruby?For example:
could compile to something like:
or
Beta Was this translation helpful? Give feedback.
All reactions