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

What does javascript mean?

Sep 01, 2021 pm 02:57 PM
javascript

Javascript is a high-level, interpreted programming language, mainly used to add interactive behaviors to HTML pages; JavaScript can also be directly embedded in HTML pages, but writing it as a separate js file is more conducive to structure and behavior separation.

What does javascript mean?

The operating environment of this article: Windows 7 system, JavaScript version 1.8.5, DELL G3 computer.

What does javascript mean?

JavaScript (often abbreviated to JS) is a high-level, interpreted programming language. JavaScript is a language based on prototypes and first-class functions. 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 [8]. 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) [9]. 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.

Generally speaking, a complete JavaScript includes the following parts:

  • ECMAScript, which describes the syntax and basic objects of the language

  • Document Object Model (DOM), describes the methods and interfaces for processing web content

  • Browser Object Model (BOM), describes how to interact with the browser Interactive methods and interfaces

The basic characteristics of JavaScript are as follows:

  • is an interpreted scripting language (code Not precompiled).

  • 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!

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

Hot Article

Hot Article

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to implement an online speech recognition system using WebSocket and JavaScript How to implement an online speech recognition system using WebSocket and JavaScript Dec 17, 2023 pm 02:54 PM

How to implement an online speech recognition system using WebSocket and JavaScript

WebSocket and JavaScript: key technologies for implementing real-time monitoring systems WebSocket and JavaScript: key technologies for implementing real-time monitoring systems Dec 17, 2023 pm 05:30 PM

WebSocket and JavaScript: key technologies for implementing real-time monitoring systems

How to implement an online reservation system using WebSocket and JavaScript How to implement an online reservation system using WebSocket and JavaScript Dec 17, 2023 am 09:39 AM

How to implement an online reservation system using WebSocket and JavaScript

How to use JavaScript and WebSocket to implement a real-time online ordering system How to use JavaScript and WebSocket to implement a real-time online ordering system Dec 17, 2023 pm 12:09 PM

How to use JavaScript and WebSocket to implement a real-time online ordering system

JavaScript and WebSocket: Building an efficient real-time weather forecasting system JavaScript and WebSocket: Building an efficient real-time weather forecasting system Dec 17, 2023 pm 05:13 PM

JavaScript and WebSocket: Building an efficient real-time weather forecasting system

Simple JavaScript Tutorial: How to Get HTTP Status Code Simple JavaScript Tutorial: How to Get HTTP Status Code Jan 05, 2024 pm 06:08 PM

Simple JavaScript Tutorial: How to Get HTTP Status Code

How to get HTTP status code in JavaScript the easy way How to get HTTP status code in JavaScript the easy way Jan 05, 2024 pm 01:37 PM

How to get HTTP status code in JavaScript the easy way

How to use insertBefore in javascript How to use insertBefore in javascript Nov 24, 2023 am 11:56 AM

How to use insertBefore in javascript

See all articles