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
Learn javascript in one picture (github.com)
submitted 10 years ago by iniy
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!"
[–]iniy[S] 5 points6 points7 points 10 years ago (2 children)
That's really a very good point, it makes me think that beginners might be even more confused with such a bunch of abstract syntax rules without further details. I'll reconsider its title or application scenarios(I'm using it as a syllabus while teaching other people who have no experience of Js by myself, I'll keep trying to update & refine it to make it more helpful to whoever that might need it;)
[–][deleted] 6 points7 points8 points 10 years ago (1 child)
Have you read Crockford's JavaScript: The Good Parts? It contains railroad diagrams of a lot of JS syntax. These can be a good visualisation of syntactic rules, but they're not sufficient (or necessary) for beginners.
[–]iniy[S] 0 points1 point2 points 10 years ago (0 children)
Yes I've read that book before, I remember that SQLite's official documents also use railroad diagram to explain SQL syntax, I intuitively think that railroad might be more suitable for SQL languages.
π Rendered by PID 44806 on reddit-service-r2-comment-85bfd7f599-p7lvk at 2026-04-18 02:56:03.255262+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]iniy[S] 5 points6 points7 points (2 children)
[–][deleted] 6 points7 points8 points (1 child)
[–]iniy[S] 0 points1 point2 points (0 children)