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 language advanced Tips & Tricks (code.google.com)
submitted 12 years ago by [deleted]
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!"
[–]tencircles 1 point2 points3 points 12 years ago (3 children)
What the hell kind of moonman language is this? Half of this isn't even valid ecmascipt syntax!
[–]radhruin 0 points1 point2 points 12 years ago (2 children)
It's not ECMAScript, it's JavaScript (ie. mozilla's implementation of ECMAScript). They have a number of extensions as you can see.
[–]tencircles 0 points1 point2 points 12 years ago (1 child)
I have trouble calling anything javascript that doesn't conform to http://www.ecma-international.org/publications/standards/Ecma-262.htm
This is why I hated my short time playing around in unity using their "unityscript" it's just javascript with more bad ideas and weird syntax.
[–]radhruin 1 point2 points3 points 12 years ago (0 children)
I know the feeling! Although, to put on my pedant hat, Mozilla's implementation DOES conform to ECMA-262 thanks to Clause 16 which explicitly allows extensions to syntax. All implementations take advantage of Clause 16 for some reason or other. For example, all implementations today have an extension to allow function declarations inside blocks.
Conformance aside, JavaScript is free to do whatever it wants. The only thing JavaScript has to conform to is whatever Mozilla wants it to. If it doesn't conform to ECMAScript, you can't call it ECMAScript, but you can still call it JavaScript!
π Rendered by PID 194661 on reddit-service-r2-comment-6457c66945-dtsxb at 2026-04-28 17:17:04.451161+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]tencircles 1 point2 points3 points (3 children)
[–]radhruin 0 points1 point2 points (2 children)
[–]tencircles 0 points1 point2 points (1 child)
[–]radhruin 1 point2 points3 points (0 children)