ES6 introduction

What is ES6

ES6 learning refer to Ruan Yifeng's blog URL: http://jsrun.net/t/dZKKp

ECMAScript 6.0 (hereinafter referred to as ES6) is the next-generation standard of the JavaScript language, which was officially released in June 2015. Its goal is to make the JavaScript language can be used to write complex large-scale applications and become an enterprise-level development language.

The relationship between ECMAScript and JavaScript is that the former is the specification of the latter, and the latter is an implementation of the former (the other ECMAScript dialects include Jscript and ActionScript). In everyday situations, these two words are interchangeable

ES6 is not only a historical term, but also a general reference. It means the next-generation standard of JavaScript after version 5.1 , covering ES2015 , ES2016 , ES2017, etc., while ES2015 is the official name, specifically referring to the official version of the language released that year standard. ES6 generally refers to the ES2015 standard, but sometimes also refers to the "next-generation JavaScript language".

let and const commands

Deconstruction and assignment of variables

String expansion

Array expansion

Object extension

Function extension

Class increase

............ and so on 

 

Guess you like

Origin blog.csdn.net/weixin_41040445/article/details/115296646