Java,javascript,jscript Difference

Source: Internet
Author: User
Tags version
Javascript|js|jscript| Difference

Today on the Internet to see some people ask the difference between JavaScript and JScript, only to find that some people have misunderstandings.

These three languages were developed by three companies, and the Sun Java,netscape's javascript,microsoft JScript
JavaScript is a Java-HTML, object-based event-driven programming language developed by Netscape and published with the Navigator Navigator, not requiring a Java compiler, but runs directly in a Web browser, formerly known as Live Script.

JScript is a language similar to JavaScript.

Java is a new generation of Sun's object-oriented programming language, especially suitable for Internet application development, of course, other applications can also be developed, before the installation of Sybase and DB2, I was aware that their installation program seems to be written in Java. The predecessor of Java is the Oak language

1. Only static HTML at the beginning of the Web
2. To meet better interaction needs, Netscape developed the LiveScript language used in Navigator, which was renamed JavaScript
3.Microsoft releases JScript for Internet Explorer.
4. The initial JScript and JavaScript differences were so great that web programmers had to painfully write two scripts for two of browsers. So the birth of ECMAScript, is an international standard JavaScript version. This version is now supported by mainstream browsers.
5. When we write the program it is best to write <script language=javascript> instead of <script language=jscript> because JavaScript is a generic name, all browsers know, and JScript only knows ie.
6. The difference in the details of other languages, not one or two can be finished. But I personally think it's best to follow the ECMAScript standard when programming. This will guarantee compatibility.
7. By the way, JavaScript was originally called LiveScript, and later, when Sun's Java spotlight was flourishing, Netscape changed its name to JavaScript.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.