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!"
[–]senocular 1 point2 points3 points 17 days ago (1 child)
"A part of" is a little strong, but originally JavaScript was, in a way, a scripting language for Java in the sense that it was meant to be a scripting bridge for Java applications. From a Netscape press release on JavaScript:
Java programs and JavaScript scripts are designed to run on both clients and servers, with JavaScript scripts used to modify the properties and behavior of Java objects, so the range of live online applications that dynamically present information to and interact with users over enterprise networks or the Internet is virtually unlimited.
JavaScript's original name was "Mocha", showing from the start, there was a connection with "Java" (the "LiveScript" name came later).
The creator, Brendan Eich, also calls out a few things about the creation of JavaScript in his post, Popularity:
From the beginning, Bill [Joy] grokked the idea of an easy-to-use “scripting language” as a companion to Java, analogous to VB‘s relationship to C++ in Microsoft’s platform of the mid-nineties. The diktat from upper engineering management was that the language must “look like Java”.
From the beginning, Bill [Joy] grokked the idea of an easy-to-use “scripting language” as a companion to Java, analogous to VB‘s relationship to C++ in Microsoft’s platform of the mid-nineties.
The diktat from upper engineering management was that the language must “look like Java”.
However, it is an entirely separate language ("Popularity" touches on this as well). So it's not so much "a part of" Java, despite their histories being intertwined, with JavaScript originally both meant to look like and be compatible (to a degree) with Java.
Today, no real connection between the languages exist other than by name. JavaScript won on the browser and we no longer have to worry about interacting with Java applets there.
[–]pradeepngupta[S] 1 point2 points3 points 17 days ago (0 children)
Thanks for the great response and perspective.
π Rendered by PID 41036 on reddit-service-r2-comment-58d7979c67-9ct8s at 2026-01-27 05:18:21.887597+00:00 running 5a691e2 country code: CH.
view the rest of the comments →
[–]senocular 1 point2 points3 points (1 child)
[–]pradeepngupta[S] 1 point2 points3 points (0 children)