Home > Web Front-end > JS Tutorial > what is js

what is js

王林
Release: 2020-07-18 10:18:08
Original
6453 people have browsed it

js (full name "JavaScript") is a lightweight, interpreted or just-in-time compiled high-level programming language with function priority. JavaScript has been widely used in web application development, and is often used to add a variety of dynamic functions to web pages to provide users with smoother and more beautiful browsing effects.

what is js

Introduction to js

(Recommended learning: js tutorial)

JavaScript (referred to as "JS ”) is a lightweight, interpreted or just-in-time compiled high-level programming language with function priority.

Although it is famous as a scripting language for developing Web pages, it is also used in many non-browser environments. JavaScript is based on prototype programming, a multi-paradigm dynamic scripting language, and supports object-oriented, Imperative and declarative (like functional programming) styles.

Features:

JavaScript is a high-level scripting language belonging to the Internet. It has been widely used in Web application development. It is often used to add various dynamic functions to web pages and provide users with Smoother and more beautiful browsing effect. Usually JavaScript scripts realize their functions by embedding them in HTML.

  • is an interpreted scripting language (the code is not precompiled).

  • is mainly used to add interactive behaviors to HTML (an application under Standard Universal Markup Language) 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.

  • Cross-platform features, with the support of most browsers, can run on multiple platforms (such as Windows, Linux, Mac, Android, iOS, etc.).

  • Javascript scripting language, like other languages, has its own basic data types, expressions and arithmetic operators, and the basic program framework of the program. Javascript provides four basic data types and two special data types for processing data and text. Variables provide a place to store information, and expressions can complete more complex information processing.

  • can realize human-computer interaction on web pages.

Usage:

  • 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 the visitor’s browser information.

  • Control cookies, including creation and modification.

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

The above is the detailed content of what is js. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
js
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