Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Which was the predecessor of javascript?

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article introduces the relevant knowledge of "which is the predecessor of javascript". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

LiveScript, the predecessor of javascript. JavaScript, originally known as LiveScript, was designed and developed by Brendan Eich of Netscape in 1995; later, Netscape partnered with Sun to rename it JavaScript.

The operating environment of this tutorial: windows7 system, javascript1.8.5 version, Dell G3 computer.

LiveScript, the predecessor of javascript.

JavaScript was first designed and implemented in Netscape Navigator browser by Brendan Eich of Netscape in 1995.

JavaScript, originally known as LiveScript, changed its name to JavaScript after Netscape partnered with Sun, an Internet company that is now acquired by Oracle.

The reason for renaming LiveScript to JavaScript is that JavaScript is inspired by Java, so they have a lot of grammatical similarities, and many naming conventions in JavaScript are borrowed from Java, and another reason is the popularity of Java for marketing.

At the same time, Microsoft and Nombas (a company called Nombas) also developed two scripting languages, JScript and ScriptEase, respectively, which formed a tripod with JavaScript. There is no unified standard between them, and they cannot be used with each other. In order to solve this problem, in 1997, under the coordination of ECMA (European Association of computer Manufacturers), Netscape, Sun, Microsoft and Borland (a software company) formed a working group and formulated the ECMA-262 standard (ECMAScript) based on JavaScript.

In the following year, ISO/IEC (International Organization for Standardization and International Electrotechnical Commission) also adopted ECMAScript as the standard (i.e. ISO/IEC-16262).

Characteristics of JavaScript

1. Interpretive scripting language

JavaScript is an interpretive scripting language. Unlike C, C++ and other languages that need to be compiled and then run, code written with JavaScript does not need to be compiled and can be run directly.

2. Object-oriented

JavaScript is an object-oriented language, using JavaScript can not only create objects, but also manipulate and use existing objects.

3. Weak type

JavaScript is a weakly typed programming language with no strict requirements on the data types used. For example, you can initialize a variable to any type, or you can change the type of the variable at any time.

4. Dynamic

JavaScript is an event-driven scripting language, which can respond to user input without the help of a Web server. For example, when we visit a web page, when we click on the web page or scroll through the window through the mouse, we can respond to these events directly through JavaScript.

5. Cross-platform

JavaScript is independent of the operating system and can be run in a browser. So a JavaScript script can be run on any system after it has been written, as long as the browser on the system supports JavaScript.

Main function

1. Embed dynamic text into HTML pages.

2. Respond to browser events.

3. Read and write HTML elements.

4. Verify the data before it is submitted to the server.

5. Detect the browser information of visitors. Control cookies, including creation and modification, etc.

6. Server-side programming based on Node.js technology.

This is the end of the content of "which is the predecessor of javascript". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report