Java, JavaScript, JScript
Today, I saw some people on the internet asking about the difference between JavaScript and JScript, only to find some people have misunderstandings.
The three languages are three companies. Development , Sun's Java, Netscape's JavaScript, Microsoft's JScript
Javascript is developed by Netscape and released with navigator navigators. It is between Java and HTML and is driven by Object events. Programming Language. It runs directly in a web browser instead of a Java compiler. Its predecessor is live script.
JScript is a javascript-like language.
Java is Sun Company The new-generation object-oriented programming language is especially suitable for Internet application development. Of course, you can also develop other applications. DB2 All of them seem to be written in Java. The predecessor of Java is oak. Language
1. At first, there was only static html on the web.
2. To meet better interaction requirements, Netscape developed the livescript language used in navigator and renamed it Javascript
3. Microsoft Release JScript is used for Internet Explorer.
4. The original differences between JScript and JavaScript were too large, and web programmers had to write two types of scripts for the two browsers. Ecmascript was born as an international Standard Javascript version. Currently, mainstream browsers support this version.
5. when writing a program, we 'd better write <script language = JavaScript> instead of <script language = JScript>. Because Javascript is a common name, it is recognized by all browsers, and JScript is only known by IE.
6. The difference in the details of other languages is not something that can be done in one or two cases. But I personally think it is best to follow the ecmascript standard in programming. This ensures compatibility.
7. By the way, JavaScript was originally called livescript, and Sun's Java Netscape changed its name to Javascript when the limelight was booming.
Refer:
Http://wiki.ccw.com.cn/ECMAScript
Http://en.wikipedia.org/wiki/JavaScript
In addition, the script language used for Windows System Management is vbscrip or JScript.