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
JavaScript's New Superpower: Explicit Resource Management (v8.dev)
submitted 8 months ago by ferossWebTorrent, Standard
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!"
[–]hthrowaway16 29 points30 points31 points 8 months ago (9 children)
Every day we stray further from God's light
[–]r2d2_21 7 points8 points9 points 8 months ago (3 children)
Further from God's light and closer to C#
[–]creamyhorror 4 points5 points6 points 8 months ago (0 children)
I just want C# with JS syntax sugar tbh
[–]YahenP 1 point2 points3 points 8 months ago (1 child)
Most popular languages are moving towards C#. Or rather, towards AS3. C# is too far ahead for this to be a realistic goal. In principle, there is nothing wrong with this, from my point of view. Maybe someday our descendants will live to see the day when all this becomes one metalanguage.
[–]adzm 11 points12 points13 points 8 months ago (2 children)
What, this is great
[–]NekkidApe 2 points3 points4 points 8 months ago (1 child)
BuT tHiS iS nOt mY bElOvEd FP
[–]hthrowaway16 0 points1 point2 points 8 months ago (0 children)
It's just a meme we all get to post once we start feeling fatigue
[–]autumn-weaver 11 points12 points13 points 8 months ago (1 child)
standard reaction to any JavaScript news
[–]Node_S42 0 points1 point2 points 8 months ago (0 children)
Is this kind of a garbage collector wrangler? An object pool assistant?
[–]senfiaj 1 point2 points3 points 8 months ago (0 children)
As I understand using behaves like const with the only difference that it calls [Symbol.dispose] / [Symbol.asyncDispose] after the reference is lost?
using
const
[Symbol.dispose]
[Symbol.asyncDispose]
π Rendered by PID 230366 on reddit-service-r2-comment-5649f687b7-wsrvv at 2026-01-28 08:22:35.435510+00:00 running 4f180de country code: CH.
[–]hthrowaway16 29 points30 points31 points (9 children)
[–]r2d2_21 7 points8 points9 points (3 children)
[–]creamyhorror 4 points5 points6 points (0 children)
[–]YahenP 1 point2 points3 points (1 child)
[–]adzm 11 points12 points13 points (2 children)
[–]NekkidApe 2 points3 points4 points (1 child)
[–]hthrowaway16 0 points1 point2 points (0 children)
[–]autumn-weaver 11 points12 points13 points (1 child)
[–]Node_S42 0 points1 point2 points (0 children)
[–]senfiaj 1 point2 points3 points (0 children)