Re:JS things I didn’t know existed
by pg_bot on Saturday January 20, 2018 @08:56AM
(#16193323)
Technically yes, but it is interesting that "|>" seems to be the syntax that is being adopted amongst multiple languages.
[ Parent
| on HN ]
Re:JS things I didn’t know existed
by chickenfries on Saturday January 20, 2018 @12:42PM
(#16194325)
Well, we can't use "|".
Although to be fair, using | for "or" has always been silly. Also making the bitwise operator the short one since the logical one gets more usage in the real world. Hindsight is 20/20 of course.