Today, I saw some people on the internet asking about the difference between JavaScript and JScript, only to find some people have misunderstandings.
These three languages are developed by three companies, sun's Java, Netscape's JavaScript, and Microsoft's JScript. Javascript is a programming language developed by Netscape and released with navigator navigators, between Java and HTML, and driven by Object events. It does not require a Java compiler, instead, it runs directly in a Web browser, whose predecessor is live script. JScript is a javascript-like language.Java is a new-generation object-oriented programming language released by Sun. It is especially suitable for Internet application development. Of course, it can also develop other applications. When installing Sybase and DB2, I have noticed that all their installation programs seem to be written in Java. The predecessor of Java is the 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 released JScript 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, an international standardized 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. Later, when sun's Java was booming, Netscape changed its name to JavaScript. I checked a lot of information and thought this article was good. You're welcome. |