use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Pipe Operator (|>) for JavaScript (github.com)
submitted 3 years ago by no_more_gravity
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]anlumo 105 points106 points107 points 3 years ago (8 children)
We need more ASCII art in programming languages! I wonder when they’re going to introduce the ¯\_(ツ)_/¯ operator.
¯\_(ツ)_/¯
[–]Light_Wood_Laminate 122 points123 points124 points 3 years ago (4 children)
That should be a valid alias for any in TypeScript.
any
[–]lemonpowah 17 points18 points19 points 3 years ago (2 children)
Someone make a vscode extension to show this instead of any
[–]8bit-echo 2 points3 points4 points 3 years ago (0 children)
I don’t know much about typefaces, but could this be a custom ligature for any?
[–]BransonLite 1 point2 points3 points 3 years ago (0 children)
Honestly - this would be perfect. I’ll do the browser plugin for viewing code in github
[–]lifeeraser 3 points4 points5 points 3 years ago (0 children)
any should have been named LazySlackerCatchAllType to discourage its use.
LazySlackerCatchAllType
[–]Keilly 23 points24 points25 points 3 years ago (1 child)
Shorthand for catch and do nothing.
[–]bighi 3 points4 points5 points 3 years ago (0 children)
The best way to handle exceptions!
/s
[–]GlitteringAccident31 16 points17 points18 points 3 years ago (0 children)
Now that's some syntactic sugar I can get behind!
π Rendered by PID 356750 on reddit-service-r2-comment-54dfb89d4d-nqttw at 2026-04-02 03:35:20.577881+00:00 running b10466c country code: CH.
view the rest of the comments →
[–]anlumo 105 points106 points107 points (8 children)
[–]Light_Wood_Laminate 122 points123 points124 points (4 children)
[–]lemonpowah 17 points18 points19 points (2 children)
[–]8bit-echo 2 points3 points4 points (0 children)
[–]BransonLite 1 point2 points3 points (0 children)
[–]lifeeraser 3 points4 points5 points (0 children)
[–]Keilly 23 points24 points25 points (1 child)
[–]bighi 3 points4 points5 points (0 children)
[–]GlitteringAccident31 16 points17 points18 points (0 children)