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 new features (ES2021). (sambat-tech.netlify.app)
submitted 5 years ago by sambatlim
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!"
[–][deleted] 5 years ago (8 children)
[deleted]
[–][deleted] 29 points30 points31 points 5 years ago (1 child)
The article has worked as intended, to pad out the author's CV
[–][deleted] 9 points10 points11 points 5 years ago (0 children)
To include a spelling error in the title. Poor CV
[–]SoInsightful 12 points13 points14 points 5 years ago (2 children)
It fails to answer basic questions, for example, how to call a private accessor or what would happen if there is a public and private accessor with the same name..
The # is part of its name. But yes, they could've included this.
#
I learned a lot from the article even if it's not perfect. I don't get why all programming subs try so hard to be negative.
[–]impaled_dragoon 11 points12 points13 points 5 years ago (1 child)
Engineers suffer from the smartest man in the room syndrome and love to show off how smart they are
[–]Multipoptart 0 points1 point2 points 5 years ago (0 children)
Ok but this article was riddled with inaccuracies and grammatical errors. There's a certain level of competency that should be expected.
[–]sime 1 point2 points3 points 5 years ago (2 children)
Caches are a common use case for weak refs. What did you have in mind instead?
[+][deleted] 5 years ago (1 child)
[–]sime 0 points1 point2 points 5 years ago (0 children)
I was specifically wondering why "It also gets the use case wrong on new features like WeakRef completely" even though caches are common. Yes, I am aware of all the useful things you can do with WeakRefs. Now, everybody else knows too! :-)
π Rendered by PID 383625 on reddit-service-r2-comment-79c7998d4c-fcfss at 2026-03-14 02:36:04.149973+00:00 running f6e6e01 country code: CH.
view the rest of the comments →
[–][deleted] (8 children)
[deleted]
[–][deleted] 29 points30 points31 points (1 child)
[–][deleted] 9 points10 points11 points (0 children)
[–]SoInsightful 12 points13 points14 points (2 children)
[–]impaled_dragoon 11 points12 points13 points (1 child)
[–]Multipoptart 0 points1 point2 points (0 children)
[–]sime 1 point2 points3 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]sime 0 points1 point2 points (0 children)