Home>Article>Web Front-end> what is es6

what is es6

藏色散人
藏色散人 Original
2019-06-03 09:30:14 5759browse

what is es6

What is es6?

ECMAScript 6 (hereinafter referred to as ES6) is the next generation standard of the JavaScript language and has been officially released in June 2015. Mozilla will launch JavaScript 2.0 based on this standard.

What is the relationship between ECMAScript and JavaScript? Many beginners will be confused. Simply put, ECMAScript is the international standard for the JavaScript language, and JavaScript is the implementation of ECMAScript.

In November 1996, Netscape, the creator of JavaScript, decided to submit JavaScript to ECMA, the international standardization organization, hoping that this language could become an international standard. The following year, ECMA released the first version of Standard Document No. 262 (ECMA-262), which stipulated the standard for browser scripting languages and called this language ECMAScript. This version is ECMAScript version 1.0.

The goal of ES6 is to enable the JavaScript language to be used to write large and complex applications and become an enterprise-level development language.

As a new generation standard, ES6 will bring us many exciting features. This course will focus on leading everyone to appreciate the elegance of ES6. Therefore, you need to have basic knowledge of JavaScript before learning this course. , if you don’t know what JavaScript is, you can take an introductory course in JavaScript first.

Support Although ES6 has been released as a new generation standard, it will take some time for major browsers to support the new features. So how do we know whether the browser we use supports the corresponding functions of ES6?

Don’t be nervous. For ES6 support, you can check kangax.github.io/es5-compat-table/es6/. Here you can clearly understand the support for ES6 functions in different versions of browsers. Over time, support has become higher and higher, and most of the features of ES6 have been implemented.

The above is the detailed content of what 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