Java, JavaScript, JScript

Source: Internet
Author: User
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.

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.