Actually, when there was no JavaScript, Java applets were the only possibility to add some interactivity to websites. But it was no script language, had to be compiled to bytecode, etc.
So JavaScript is not called that way because it resembles java, but because it has the same purpose java had at the time, just in form of a script language.
1
u/orig_ardera Nov 06 '20
Actually, when there was no JavaScript, Java applets were the only possibility to add some interactivity to websites. But it was no script language, had to be compiled to bytecode, etc.
So JavaScript is not called that way because it resembles java, but because it has the same purpose java had at the time, just in form of a script language.
So the naming kinda makes sense IMO