Talking about JavaScript

Source: Internet
Author: User

 JavaScript is a literal-translation scripting language , which is a dynamic type, a weak type, a prototype-based language, and a built-in support type.

Its characteristics:

1) JavaScript is an interpreted scripting language, C, C + +, and other languages are compiled and executed, and JavaScript is interpreted on a row-by-line basis in the course of a program's operation.

2) Object-based. JavaScript is an object-based scripting language that allows you to create objects and use existing objects.

3) Simple. The JavaScript language uses weakly typed variable types, which are not strictly required for the data types used, and are based on the Java Basic statement and Control scripting language, and its design is simple and compact.

4) Dynamic nature. JavaScript is an event-driven scripting language that does not require a Web server to respond to user input. When you visit a webpage, the mouse clicks or moves up and down the page, and the window moves, and so on, JavaScript can respond directly to these events.

5) Cross-platform. The JavaScript scripting language is not dependent on the operating system and requires only browser support. So a JavaScript script can be used on any machine after it is written, provided the browser on the machine supports the JavaScript scripting language, and JavaScript is now supported by most browsers.

The use of JavaScript has the following points:

1) Embed dynamic text in HTML pages.

2) respond to browser events.

3) control of cookies, including creation and modification.

4) detect the visitor's browser information.

  

Talking about JavaScript

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.