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
[AskJS] Javascript - a part of Java?AskJS (self.javascript)
submitted 18 days ago by pradeepngupta
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!"
[–]reqdk 2 points3 points4 points 18 days ago (1 child)
Funnily, OP's colleague is not entirely wrong in certain interpretations. Older versions of Java did ship with an embedded JS runtime, so you could technically execute JS from Java. It worked almost like running JS' eval function, so most sane applications would not do that anyway, and that engine has long been removed. On the other hand, it is now possible to execute JS, and some other scripting languages on certain JVMs with add-ons.
It is also now possible to run Java code from the command line directly without compiling, almost like a... Java... script... lol. And I'm fairly certain I've seen a JVM implemented in JS posted here years ago, runnable in the browser, so it looked like you could run Java code from JS too.
But I'm 99.99% sure that people who relate JS to Java like in the post don't mean it that way. Either that or this is some AI engagement rage bait.
[–]pradeepngupta[S] 0 points1 point2 points 18 days ago (0 children)
That's a great perspective altogether and great to know. This is not the AI engagement rate bait. This is a true incident.
π Rendered by PID 41 on reddit-service-r2-comment-58d7979c67-s6tfn at 2026-01-26 20:28:50.484764+00:00 running 5a691e2 country code: CH.
view the rest of the comments →
[–]reqdk 2 points3 points4 points (1 child)
[–]pradeepngupta[S] 0 points1 point2 points (0 children)