In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces whether the bottom layer of JavaScript is c language, which can be used for reference by interested friends. I hope you will gain a lot after reading this article. Let's take a look at it.
The underlying language of JavaScript is not c language, and the language design of JavaScript is mainly influenced by Self programming language and Scheme programming language; although it has many similarities with C language in syntax structure, JavaScript and c language are two completely different languages.
The underlying language of JavaScript is not c.
JavaScript (usually abbreviated to JS) is a high-level, interpreted programming language. JavaScript is a prototype-based, first-class function language, is a multi-paradigm language, it supports object-oriented programming, instruction programming, and functional programming. It provides syntax to manipulate text, arrays, dates, regular expressions, etc., and does not support Imax O, such as network, storage, graphics, etc., but these can be supported by its hosting environment. It has been standardized by ECMA (European Association of computer Manufacturers) through ECMAScript. It is used by most websites in the world, and it 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). It also has many similarities with C language in syntax structure (such as if conditional statement, switch statement, while loop, do-while loop, etc.).
On the client side, JavaScript is traditionally implemented as an interpreted language, but recently it has been able to be executed by just-in-time compilation (JIT). With the introduction of 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.
In general, a complete JavaScript consists of the following parts:
ECMAScript, which describes the syntax and basic objects of the language
Document object Model (DOM), which describes the methods and interfaces for processing web page content
Browser object model (BOM), which describes the methods and interfaces for interacting with browsers
The basic features of JavaScript are as follows:
Is an interpretive scripting language (the code is not precompiled).
It is mainly used to add interactive behavior to HTML pages.
You can embed a HTML page directly, but writing it as a separate js file facilitates the separation of structure and behavior.
JavaScript is commonly used to accomplish the following tasks:
Embed dynamic text into HTML pages
Respond to browser events
Read and write HTML elements
Validate data before it is submitted to the server
Detect the browser information of the visitor
Control cookie, including creation and modification, etc.
Thank you for reading this article carefully. I hope the article "is JavaScript at the bottom of C language" shared by the editor will be helpful to you? at the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.