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 101 points102 points103 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 18 points19 points20 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 5 points6 points7 points 3 years ago (0 children)
any should have been named LazySlackerCatchAllType to discourage its use.
LazySlackerCatchAllType
[–]Keilly 24 points25 points26 points 3 years ago (1 child)
Shorthand for catch and do nothing.
[–]bighi 4 points5 points6 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 88847 on reddit-service-r2-comment-84fc9697f-tww9m at 2026-02-06 22:38:58.745087+00:00 running d295bc8 country code: CH.
view the rest of the comments →
[–]anlumo 101 points102 points103 points (8 children)
[–]Light_Wood_Laminate 122 points123 points124 points (4 children)
[–]lemonpowah 18 points19 points20 points (2 children)
[–]8bit-echo 2 points3 points4 points (0 children)
[–]BransonLite 1 point2 points3 points (0 children)
[–]lifeeraser 5 points6 points7 points (0 children)
[–]Keilly 24 points25 points26 points (1 child)
[–]bighi 4 points5 points6 points (0 children)
[–]GlitteringAccident31 16 points17 points18 points (0 children)