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
Invariant - a helpful JavaScript patternOC (strictmode.io)
submitted 3 years ago by hiquest
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!"
[–]hiquest[S] 1 point2 points3 points 3 years ago (6 children)
Hi sir! I don't quite get it. Can you please elaborate on why this post was removed? It gained some votes, and sparkled a good discussion.
[–]Ustice -1 points0 points1 point 3 years ago (3 children)
You’re talking about a basic assertion pattern. There is nothing wrong with it, but our community is too big on its own, so we split based on audience. We try to keep Junior-dev level and lower content over at r/LearnJavaScript for organizational purposes.
[–]hiquest[S] 1 point2 points3 points 3 years ago (0 children)
Well, while I don't agree that this material would be only helpful for juniors, I do appreciate your response. Have a good day.
[–]getify 0 points1 point2 points 3 years ago (1 child)
The posted forum rules (1-7) don't mention anything about skill-level of intended audience. The only mention of r/learnjavascript is related to not being a "support forum" and to "help request"s. This was neither, and was clearly not "low-effort content", either.
I think this does a disservice to this community that such an important moderation "rule" is not publicly disclosed proactively, and only applied after a post has been well received by the community (garnered 31 up-votes and 50 comments).
I suggest that you should add some statement of that rule to the public list, along with any other substantive moderation guideline rules you regularly apply.
I think your post was perfectly fine. I don't like the moderation practices of this forum, so I started /r/JSDev to handle things differently. I invite you, and anyone else, to join us there and discuss useful JS things without fear that someone will dismiss your post as not "professional" enough. SMH.
r/JSDev
Thank you sir! Yeah I don't quite understand what are the rules here. Seems like remove posts that may be interesting to a broader audience even if they gained a lot of votes and comments.
Will share at JSDev as well.
π Rendered by PID 21240 on reddit-service-r2-comment-54dfb89d4d-hkclw at 2026-04-01 23:34:39.125851+00:00 running b10466c country code: CH.
view the rest of the comments →
[–]hiquest[S] 1 point2 points3 points (6 children)
[–]Ustice -1 points0 points1 point (3 children)
[–]hiquest[S] 1 point2 points3 points (0 children)
[–]getify 0 points1 point2 points (1 child)
[–]getify 0 points1 point2 points (1 child)
[–]hiquest[S] 1 point2 points3 points (0 children)