JavaScript and Other Languages
How does JavaScript relate to other programming languages for the Web, such as Java and VBScript? Let's take them one at a time.
First, it's important to note that there is no direct relation between JavaScript and Java, which is a cross-platform programming language that can be used to write standalone applications or applets that can be attached to HTML pages. JavaScript is not a subset of Java (meaning that it's not just scaled-down Java with some of the features left out). Although JavaScript is structured in ways that are somewhat similar to Java, there are many differences between the two as well.
VBScript, on the other hand, is a subset of Microsoft's Visual Basic language, and it resembles JavaScript in many respects. Although VBScript and JavaScript have similar functionality, there are many differences between the languages, and the scripts written in the two are not interchangeable, except in rare and simple cases. VBScript is at present supported only by Internet Explorer.
|