What language is js

little bottle
Release: 2020-09-19 08:55:12
Original
19043 people have browsed it

The full name of js is Javascript. It is an advanced, interpreted, literal scripting language. It is a prototype-based, function-first language. It is a multi-paradigm language; it is a network-based language. Scripting language 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.

What language is js

js (full name JavaScript) is a literal scripting language. It is a dynamically typed, weakly typed, prototype-based language with built-in support for types.

Its interpreter is called the JavaScript engine and is part of the browser.

It is a scripting language widely used on the client side. It was first used on HTML (an application under Standard Universal Markup Language) web pages to add dynamic functions to HTML web pages.

JavaScript script language has the following characteristics:

(1) Script language.

JavaScript is an interpreted scripting language. Languages such as C and C are compiled first and then executed, while JavaScript is interpreted line by line during the running of the program.

(2) Based on objects.

JavaScript is an object-based scripting language that can not only create objects, but also use existing objects.

(3)Simple.

The JavaScript language uses weakly typed variable types and does not impose strict requirements on the data types used. It is a scripting language based on Java's basic statements and controls, and its design is simple and compact.

(4)Dynamic.

JavaScript is an event-driven scripting language that can respond to user input without going through the Web server. When visiting a web page, JavaScript can directly respond to these events when the mouse is clicked, moved up or down, or moved in the window.

(5) Cross-platform.

JavaScript script language does not depend on the operating system and only requires browser support. Therefore, after writing a JavaScript script, it can be brought to any machine for use, provided that the browser on the machine supports the JavaScript scripting language. Currently, JavaScript is supported by most browsers.

Daily uses of js:

1. Embed dynamic text in HTML pages.

2. Respond to browser events.

3. Read and write HTML elements.

4. Verify data before it is submitted to the server.

5. Detect the visitor’s browser information.

6. Control cookies, including creation and modification.

7. Server-side programming based on Node.js technology.

The above is the detailed content of What language is js. 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
Latest Articles by Author
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!