Home  >  Article  >  Web Front-end  >  Is JavaScript a non-scripting language?

Is JavaScript a non-scripting language?

青灯夜游
青灯夜游Original
2021-12-08 15:24:551691browse

JavaScript is a scripting language. JavaScript is a lightweight, interpreted or just-in-time compiled scripting language with function priority; code written in JavaScript does not need to be compiled and can be run directly.

Is JavaScript a non-scripting language?

The operating environment of this tutorial: windows7 system, javascript version 1.8.5, Dell G3 computer.

JavaScript is not a non-scripting language, but an interpreted scripting language.

JavaScript is a lightweight, interpreted or just-in-time compiled scripting language with function priority; code written in JavaScript does not need to be compiled and can be run directly.

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, command formal, declarative, and functional programming paradigms.

JavaScript is a high-level scripting language that belongs 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 effects. 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.

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

[Related recommendations: javascript learning tutorial]

The above is the detailed content of Is JavaScript a non-scripting language?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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