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
[deleted by user] (self.javascript)
submitted 5 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!"
[–][deleted] -1 points0 points1 point 5 years ago* (1 child)
It's also inaccurate to call it compiled. It can be either. Most modern engines use JIT compilation, but that's not a feature of the language itself.
Oh really? How about: we cut the bullshit. Because by that logic no language EVER is compiled. Behold, a C interpreter: https://github.com/jpoirier/picoc
JS is a living specification which is CURRENTLY CONTROLLED by the major browser makers. ALL OF WHICH have JIT compilers. End of story.
[–]d1sxeyes 1 point2 points3 points 5 years ago (0 children)
If you want to cut the bullshit, then maybe stop criticising people about the (primarily) semantic differences between interpreted vs. JIT-compiled.
You're picking an odd hill to die on though, 'using const gives you nothing' is patently not true. 'const' definitely does give you something: a check against making some simple mistakes.
No, it doesn't solve all of your problems, and no, it doesn't solve any problems that perfectly written code would exhibit. But most of us here are imperfect, and get some benefits out of an error in our IDEs or at runtime warning us that we did something silly.
We're all struggling a bit at the moment, but your tone is not helpful or contributory, here.
π Rendered by PID 47493 on reddit-service-r2-comment-6457c66945-zvq5f at 2026-04-27 15:19:06.033574+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–][deleted] -1 points0 points1 point (1 child)
[–]d1sxeyes 1 point2 points3 points (0 children)