In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the relevant knowledge of "what is the relationship between ES5 and JavaScript". The editor shows you the operation process through an actual case, and the operation method is simple, fast and practical. I hope this article "what is the relationship between ES5 and JavaScript" can help you solve the problem.
The relationship between ES5 and JavaScript is that ES5 is the international standard of JavaScript language and JavaScript is the implementation of ES5. ES5 is a revised version of ECMAScript's JavaScript-based specification, which specifies the components of JavaScript.
The operating environment of this tutorial: windows10 system, ECMAScript 5.1&&javascript1.8.5 version, Dell G3 computer.
What is the relationship between ES5 and JavaScript? 1. What is Javascript?
JavaScript (JS for short) is a dynamically typed, weakly typed, prototype-based client scripting language used to add dynamic functionality to HTML pages.
Dynamic:
Determine the data type at run time. A variable does not need a type declaration before it is used, and usually the type of the variable is the type of the value to which it is assigned.
Weak class:
In the calculation, different types can be converted transparently and implicitly to the user, and even if the type is incorrect, the correct type can be obtained by implicit conversion.
Prototype:
The new object inherits the object (as a template) and shares its own properties with the new object, which is called a prototype. In this way, when the new object is instantiated, it can enjoy not only the properties defined at creation time and run time, but also the properties of the prototype object.
JavaScript consists of three parts:
1. ECMAScript (Core)
As the core, it defines the components of the language: syntax, type, statement, keyword, reserved word, operator, object
2. DOM (document object Model)
DOM maps the entire page to a multi-tier node result, and developers can easily delete, add, replace, or modify any node with the API provided by DOM.
3. BOM (browser object Model)
The browser object model that can access and manipulate browser windows is supported, and developers can control parts other than the pages displayed by the browser.
2. ECMAScript and JavaScript?
What is the relationship between ECMAScript and JavaScript? Many beginners will be confused. To put it simply, ECMAScript is the international standard of the JavaScript language, and JavaScript is the implementation of ECMAScript.
In November 1996, Netscape, the creator of JavaScript, decided to submit JavaScript to the International Organization for Standardization (ECMA), hoping that the language would become an international standard. The following year, ECMA released the first edition of Standard document No. 262 (ECMA-262), which set out the standard for the browser scripting language and called it ECMAScript. This version is ECMAScript version 1. 0.
What is ES5?
ECMAScript 5.1 (or ES5 only) is the latest revision to the ECMAScript (JavaScript-based specification) standard. Similar in nature to the HTML5 specification process, ES5 achieves standardization by merging existing JavaScript methods by adding statements and native ECMAScript objects. ES5 also introduces a strict variant of syntax called "strict pattern" (strict mode).
This is the end of the content about "what is the relationship between ES5 and JavaScript". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.
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.