Home > Web Front-end > Front-end Q&A > What does javascript mean?

What does javascript mean?

藏色散人
Release: 2021-12-06 11:21:46
Original
7477 people have browsed it

Javascript is a high-level, interpreted programming language. It is also a language based on prototypes and first-class functions. It is also a multi-paradigm language. It supports object-oriented programming, imperative programming and functions. programming.

What does javascript mean?

The operating environment of this article: Windows7 system, javascript version 1.8.5, DELL G3 computer

What does javascript mean?

JavaScript (often abbreviated as JS) is a high-level, interpreted programming language [8]. JavaScript is a language based on prototypes and first-class functions [9]. It is a multi-paradigm language that supports object-oriented programming, imperative programming, and functional programming. It provides syntax to manipulate text, arrays, dates, regular expressions, etc. It does not support I/O, such as network, storage and graphics, but these can be supported by its host environment. It has been standardized as a language by ECMA (European Computer Manufacturers Association) through ECMAScript. It is used by most websites in the world and is also supported by the world's mainstream browsers (Chrome, IE, Firefox, Safari, Opera).

JavaScript and Java have many similarities in name or syntax, but the two programming languages ​​​​are very different from the beginning of their design. The language design of JavaScript is mainly influenced by Self (a prototype-based programming language) and Scheme (a functional programming language). In terms of grammatical structure, it has many similarities with the C language (such as if conditional statements, switch statements, while loops, do-while loops, etc.).

On the client side, JavaScript has been implemented as an interpreted language in the traditional sense, but more recently, it has been compiled for just-in-time (JIT) execution. With the latest HTML5 and CSS3 language standards, it can also be used for the development of games, desktop and mobile applications and running in server-side network environments such as Node.js.

The basic characteristics of JavaScript are as follows:

  • is an interpreted scripting language (the code is not pre-compiled).

  • Mainly used to add interactive behaviors to HTML pages.

  • It can be directly embedded in HTML pages, but writing it as a separate js file is beneficial to the separation of structure and behavior.

JavaScript is commonly used to complete the following tasks:

  • Embed dynamic text in HTML pages

  • Respond to browser events

  • Read and write HTML elements

  • Validate data before it is submitted to the server

  • Detect visitors’ browser information

  • Control cookies, including creation and modification

Recommended learning : "javascript basic tutorial"

The above is the detailed content of What does javascript mean?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template