Home > Web Front-end > Front-end Q&A > What kind of language is javascript?

What kind of language is javascript?

青灯夜游
Release: 2023-01-04 09:34:28
Original
5725 people have browsed it

Javascript is a dynamically typed, weakly typed, prototype-based language with built-in support for types. Its interpreter is called the JavaScript engine, which is part of the browser and is widely used in client-side scripting languages. It was first used on HTML web pages to add dynamic functions to HTML web pages.

What kind of language is javascript?

The operating environment of this tutorial: Windows 7 system, ECMAScript version 5, Dell G3 computer.

javaScript

JavaScript is a high-level, interpreted programming language; it is a prototype-based, function-first language and a multi-paradigm language. language, which supports object-oriented programming, imperative programming, and functional programming.

Its interpreter is called the JavaScript engine, which is part of the browser and is widely used in client-side scripting languages. It was first used on HTML web pages to add dynamic functions to HTML web pages. JavaScript is compatible with the ECMA standard, so it is also called ECMAScript.

JavaScript provides syntax to manipulate text, arrays, dates, and regular expressions. 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.

JavaScript is a network scripting language that has been widely used in Web application development. It is often used to add various dynamic functions to web pages to provide users with smoother and more beautiful browsing effects. Usually JavaScript scripts realize their functions by embedding them in HTML.

Characteristics of Javascript:

1. Simplicity:

JavaScript is a simple and compact language based on Java's basic statements and control flow. The design makes it a very good transition for learning Java. Its variable type is weakly typed and does not use strict data types.

2. Dynamic:

JavaScript is dynamic. It can respond directly to user or customer input without going through a Web service program. It responds to users in an event-driven manner. The so-called event-driven refers to the action generated by performing a certain operation on the home page (Home Page), which is called an "event". For example, pressing the mouse, moving the window, selecting the menu, etc. can be regarded as events. When an event occurs, a corresponding event response may be triggered.

3. Cross-platform:

JavaScript depends on the browser itself and has nothing to do with the operating environment. As long as the computer can run the browser and the browser supports JavaScript, it can be executed correctly. Thus realizing the dream of "write once and travel all over the world".

4. Security:

JavaScript is a security language. It does not allow access to the local hard disk, cannot store data on the server, and does not allow modification of network documents. and deletion, information browsing or dynamic interaction can only be achieved through the browser. This effectively prevents data loss.

For more programming related knowledge, please visit: Programming Video! !

The above is the detailed content of What kind of language is javascript?. 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