Home  >  Article  >  Web Front-end  >  What front-end technology is ES6?

What front-end technology is ES6?

Guanhui
GuanhuiOriginal
2020-06-24 17:35:1823335browse

ES6 is not a front-end technology. The full name of ES6 is ECMAScript 6. It is a standard for the officially released JavaScript language. The goal of this standard is to enable the JavaScript language to be used to write complex large-scale applications and become enterprise-level. Development language.

What front-end technology is ES6?

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

ECMAScript Development History

In 2000, ECMAScript 4.0 began to be brewed. This version did not pass in the end, but most of its contents were inherited by ECMAScript6. Therefore, the starting point for the formulation of ECMAScript6 was actually 2000.

In October 2007, the ECMAScript 4.0 draft was released, and the official version was originally expected to be released in August 2008. However, there are serious differences between the parties on whether to adopt this standard. Large companies, led by Yahoo, Microsoft, and Google, oppose major upgrades to JavaScript and advocate minor changes; Mozilla, headed by JavaScript creator Brendan Eich, insists on the current draft.

In July 2008, because there were too many differences between the parties and the debate was too fierce about which functions should be included in the next version, ECMA decided to suspend the development of ECMAScript 4.0 at a meeting and remove some of the aspects involved in improving existing functions. A small part was released as ECMAScript 3.1, while other radical ideas were expanded and put into later versions. Due to the atmosphere of the conference, the project codename of this version was Harmony. Shortly after the meeting, ECMAScript 3.1 was renamed ECMAScript 5.

In December 2009, ECMAScript 5.0 was officially released. The Harmony project was divided into two. Some more feasible ideas were named JavaScript.next and continued to be developed, and later evolved into ECMAScript 6; some less mature ideas were regarded as JavaScript.next.next and will be developed in the further future. Consider launching again.

In 2011, after the release of ECMAScript 5.1, the development of version 6.0 began.

In March 2013, the ECMAScript 6 draft was frozen and no new features were added. New functionality is envisioned to be put into ECMAScript 7.

In December 2013, the ECMAScript 6 draft was released. This will then be followed by a 12-month discussion period to hear feedback from all parties. Because this version introduces too many grammatical features, and during the formulation process, many organizations and individuals continue to submit new features. The standards committee finally decided that the standard would be officially released once every June as the official version of that year. In the following time, changes will be made based on this version. Until June of the next year, the draft will naturally become the new year's version.

In June 2015, ECMAScript 6 (ES6) was officially adopted and became an international standard. The official name is "ECMAScript 2015" (ES2015 for short).

In June 2016, the slightly revised "ECMAScript 2016" (referred to as ES2016 or ES7) standard was released, which is equivalent to the ES6.1 version, because the difference between the two is very small (only the includes of array instances are added Methods and exponential operators), basically the same standard

ES6 Compatibility

Different versions of different browsers have different support for ES6, and Babel is A widely used ES6 transcoder that can convert ES6 code into ES5 code so that it can be executed in the existing environment.

Recommended tutorials: "PHP" "JS Tutorial"

The above is the detailed content of What front-end technology is ES6?. 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
Previous article:What is front-end MVVM?Next article:What is front-end MVVM?