In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article introduces the knowledge of "whether javascript needs to be compiled". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Javascript does not need to be compiled. Javascript is an interpretive, literal scripting language, the browser directly interprets the source code and can be run directly; the program written by JavaScript will be interpreted and executed line by line without pre-compilation.
The operating environment of this tutorial: windows7 system, javascript1.8.5 version, Dell G3 computer.
JavaScript is an interpretive scripting language. Unlike C, C++ and other languages that need to be compiled and then run, code written with JavaScript does not need to be compiled and can be run directly. Programs written by JavaScript will be interpreted and executed line by line, without the need for pre-compilation.
The interpretive language appears directly in the form of source code, which is parsed into machine code and executed in real time at run time. All scripting languages (including, of course, JavaScript) are interpreted. One of the biggest features of these languages is that they cannot exist independently and must be parasitic in other programs (such as browsers).
Interpretive languages are translated only when the program is running, such as interpretive basic, and there is a special interpreter that can execute basic programs directly, and each statement is translated only when it is executed. In this way, the interpretive language has to be translated every time it is executed, which is relatively inefficient.
This is the end of "whether javascript needs to be compiled". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.