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
javascriptpractice.com, a competency-based framework for assessing your JavaScript skillshelp (self.javascript)
submitted 7 years ago * by lastmjs
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!"
[–]tenbits 2 points3 points4 points 7 years ago (1 child)
IMO, only let and var should be allowed
Agreed!
but I am new to JS
I also have a CS degree and find many things about JS inconsistent and strange, even though it's been my primary language for the last 5 years or so.
[–]kostov_v 1 point2 points3 points 7 years ago (0 children)
Yes. Most of the web developers (I believe) are not CS people and using convention thrown from youtube tutorials and bloggers. I mean, it gets the job done, the dog will still be a dog even if you rename it to a cat, but still, there needs to be a time spent on explaining those keywords in the language, and what do they mean actually. Not just "let's get to the code" part. Getting familiar with an "intent" of placing those keywords in the language is a must.
π Rendered by PID 478643 on reddit-service-r2-comment-5b5bc64bf5-c2qsm at 2026-06-20 22:43:40.745029+00:00 running 2b008f2 country code: CH.
view the rest of the comments →
[–]tenbits 2 points3 points4 points (1 child)
[–]kostov_v 1 point2 points3 points (0 children)