What are the characteristics of JavaScript

What are the characteristics of JavaScript

JavaScript

Text scripting language is a dynamic, weakly typed, prototype-based language with built-in support for the type. It is called the javascript interpreter engine, is part of the browser, widely used in client-side scripting language. It was first used to add dynamic functions to the HTML page in an HTML page. JavaScript is compatible with ECMA standard, also known as ECMAScript.

javascript function:

A, JavaScript features which simple:

JavaScript is a Java basic statements and control flow based on a simple and compact design, this is a good transition learning Java. Its variable type is weak type instead of strict data types.

two. dynamics:

avascript is dynamic and can respond to user or customer input directly, without going through a Web server program. It is the user's response event-driven. The so-called event-driven refers to the operation in the operation performed on the home page produced, called "event." For example, pressing the mouse button, move the window, select the menu and so can be seen as an event. When an event occurs, it may cause a corresponding incident response.

three. Cross-platform:

JavaScript is dependent on the browser itself, regardless of the operating environment. As long as the browser supports javascript and can run a browser on your computer, you can execute properly. To achieve the "write once, travel the world," the dream.

Fourth, security:


javascript is a safe language. It does not allow access to local hard disk, data can not be stored on the server, the network can not modify, and delete documents. It can only browse information or dynamic interaction through a browser. Therefore, it is possible to effectively prevent data loss.

Guess you like

Origin www.cnblogs.com/blogst/p/10959832.html