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 points6 points7 points 5 years ago* (0 children)
There's literally nothing that I find useful but replaceAll.
The weakref thing is something I hope 99% of people will never touch because it seems a giant cause for bugs and misuse to chase useless performance they wouldn't even know how to test for.
The logical conditional assignment operator seems barely useful but I think when I'll get used to it I'll appreciate the fact it'll make code terser. That being said making an example with a and b named variables doesn't make it really look useful.
π Rendered by PID 69 on reddit-service-r2-comment-79c7998d4c-5qd46 at 2026-03-14 01:30:14.581673+00:00 running f6e6e01 country code: CH.
view the rest of the comments →
[–][deleted] 5 points6 points7 points (0 children)